1995-03-15 06:14:19 +00:00
|
|
|
:
|
1997-02-22 14:13:04 +00:00
|
|
|
# $Id$
|
1996-11-09 16:25:47 +00:00
|
|
|
|
|
|
|
export BLOCKSIZE=K
|
|
|
|
export PS1="Fixit# "
|
|
|
|
export EDITOR="/mnt2/stand/vi"
|
|
|
|
export PAGER="/mnt2/stand/more"
|
1996-11-28 08:56:43 +00:00
|
|
|
# the root MFS doesn't have /dev/nrst0, pick a better default for mt(1)
|
|
|
|
export TAPE=/mnt2/dev/nrst0
|
1996-11-09 16:25:47 +00:00
|
|
|
|
|
|
|
alias ls="ls -F"
|
|
|
|
alias ll="ls -l"
|
|
|
|
alias m="more -e"
|
|
|
|
|
|
|
|
echo '+---------------------------------------------------------------+'
|
|
|
|
echo '| You are now running from a FreeBSD "fixit" floppy. |'
|
|
|
|
echo '| ------------------------------------------------------------- |'
|
|
|
|
echo "| When you're finished with this shell, please type exit. |"
|
|
|
|
echo '| The fixit floppy itself is mounted as /mnt2. |'
|
|
|
|
echo '| |'
|
|
|
|
echo '| You might want to symlink /mnt/etc/*pwd.db and /mnt/etc/group |'
|
|
|
|
echo '| to /etc after mounting a root filesystem from your disk. |'
|
|
|
|
echo '| tar(1) will not restore all permissions correctly otherwise! |'
|
1996-11-28 08:56:43 +00:00
|
|
|
echo '| |'
|
|
|
|
echo '| Note: you might use the arrow keys to browse through the |'
|
|
|
|
echo '| command history of this shell. |'
|
1996-11-09 16:25:47 +00:00
|
|
|
echo '+---------------------------------------------------------------+'
|
1995-03-15 06:14:19 +00:00
|
|
|
echo
|
|
|
|
echo 'Good Luck!'
|
|
|
|
echo
|
|
|
|
|
1996-11-09 16:25:47 +00:00
|
|
|
# Make the arrow keys work; everybody will love this.
|
|
|
|
set -o emacs 2>/dev/null
|
1995-03-15 06:14:19 +00:00
|
|
|
|
1996-11-09 16:25:47 +00:00
|
|
|
cd /
|