fixit.profile revision 22988
1: 2# $Id$ 3 4export BLOCKSIZE=K 5export PS1="Fixit# " 6export EDITOR="/mnt2/stand/vi" 7export PAGER="/mnt2/stand/more" 8# the root MFS doesn't have /dev/nrst0, pick a better default for mt(1) 9export TAPE=/mnt2/dev/nrst0 10 11alias ls="ls -F" 12alias ll="ls -l" 13alias m="more -e" 14 15echo '+---------------------------------------------------------------+' 16echo '| You are now running from a FreeBSD "fixit" floppy. |' 17echo '| ------------------------------------------------------------- |' 18echo "| When you're finished with this shell, please type exit. |" 19echo '| The fixit floppy itself is mounted as /mnt2. |' 20echo '| |' 21echo '| You might want to symlink /mnt/etc/*pwd.db and /mnt/etc/group |' 22echo '| to /etc after mounting a root filesystem from your disk. |' 23echo '| tar(1) will not restore all permissions correctly otherwise! |' 24echo '| |' 25echo '| Note: you might use the arrow keys to browse through the |' 26echo '| command history of this shell. |' 27echo '+---------------------------------------------------------------+' 28echo 29echo 'Good Luck!' 30echo 31 32# Make the arrow keys work; everybody will love this. 33set -o emacs 2>/dev/null 34 35cd / 36