6 export EDITOR="/mnt2/rescue/vi"
7 export PAGER="/mnt2/usr/bin/more"
8 export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
9 # the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
10 export TAPE=/mnt2/dev/nrsa0
11 # make geom(8) utilities find their modules
12 export GEOM_LIBRARY_PATH="/mnt2/lib/geom:/lib/geom"
18 echo '+---------------------------------------------------------------+'
19 echo '| You are now running from FreeBSD "fixit" media. |'
20 echo '| ------------------------------------------------------------- |'
21 echo "| When you're finished with this shell, please type exit. |"
22 echo '| The fixit media is mounted as /mnt2. |'
24 echo '| You might want to symlink /mnt/etc/*pwd.db and /mnt/etc/group |'
25 echo '| to /etc after mounting a root filesystem from your disk. |'
26 echo '| tar(1) will not restore all permissions correctly otherwise! |'
28 echo '| Note: you can use the arrow keys to browse through the |'
29 echo '| command history of this shell. |'
30 echo '+---------------------------------------------------------------+'
35 # Make the arrow keys work; everybody will love this.
36 set -o emacs 2>/dev/null