1995-03-15 06:14:19 +00:00
|
|
|
:
|
1999-08-28 02:35:59 +01:00
|
|
|
# $FreeBSD$
|
1996-11-09 16:25:47 +00:00
|
|
|
|
|
|
|
export BLOCKSIZE=K
|
|
|
|
export PS1="Fixit# "
|
2008-01-21 17:25:48 +00:00
|
|
|
export EDITOR="/mnt2/rescue/vi"
|
|
|
|
export PAGER="/mnt2/usr/bin/more"
|
1997-03-02 11:59:26 +00:00
|
|
|
export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
|
1999-03-27 01:48:44 +00:00
|
|
|
# the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
|
|
|
|
export TAPE=/mnt2/dev/nrsa0
|
2007-12-06 20:25:31 +00:00
|
|
|
# make geom(8) utilities find their modules
|
2008-02-05 14:06:15 +00:00
|
|
|
export GEOM_LIBRARY_PATH="/mnt2/lib/geom:/lib/geom"
|
1996-11-09 16:25:47 +00:00
|
|
|
|
|
|
|
alias ls="ls -F"
|
|
|
|
alias ll="ls -l"
|
|
|
|
alias m="more -e"
|
|
|
|
|
|
|
|
echo '+---------------------------------------------------------------+'
|
2001-10-29 16:13:29 +00:00
|
|
|
echo '| You are now running from FreeBSD "fixit" media. |'
|
1996-11-09 16:25:47 +00:00
|
|
|
echo '| ------------------------------------------------------------- |'
|
|
|
|
echo "| When you're finished with this shell, please type exit. |"
|
2001-10-29 16:13:29 +00:00
|
|
|
echo '| The fixit media is mounted as /mnt2. |'
|
1996-11-09 16:25:47 +00:00
|
|
|
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 '| |'
|
2004-09-02 14:45:24 +01:00
|
|
|
echo '| Note: you can use the arrow keys to browse through the |'
|
1996-11-28 08:56:43 +00:00
|
|
|
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 /
|