Adjust paths for EDITOR and PAGER environment variables in the fixit

shell.  This would break them for floppy based fixit mode which still
seems to use /stand except that vi(1) and more(1) don't exist in /stand
on the fixit floppy so it really doesn't matter what these settings are
there.  These paths work for CD-based fixit mode.

This is just "temporary" and on its way to 7.0-REL.  I'm too chicken to
make what is probably the correct adjustment this close to release.  It
seems /mnt2 is just a symbolic link, and stuff really gets mounted as
/dist.  Adjusting paths to that for 8.X is probably the right thing to
do and I'll try that after 7.0 is done.

Noticed by:	gallatin
MFC after:	1 day
This commit is contained in:
Ken Smith 2008-01-21 17:25:48 +00:00
parent f2a1477818
commit e0721c3967

View File

@ -3,8 +3,8 @@
export BLOCKSIZE=K
export PS1="Fixit# "
export EDITOR="/mnt2/stand/vi"
export PAGER="/mnt2/stand/more"
export EDITOR="/mnt2/rescue/vi"
export PAGER="/mnt2/usr/bin/more"
export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
# the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
export TAPE=/mnt2/dev/nrsa0