]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - release/fixit.profile
Change the current working directory to be inside the jail created by
[FreeBSD/releng/7.2.git] / release / fixit.profile
1 :
2 # $FreeBSD$
3
4 export BLOCKSIZE=K
5 export PS1="Fixit# "
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"
13
14 alias ls="ls -F"
15 alias ll="ls -l"
16 alias m="more -e"
17
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.                          |'
23 echo '|                                                               |'
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!  |'
27 echo '|                                                               |'
28 echo '| Note: you can use the arrow keys to browse through the        |'
29 echo '| command history of this shell.                                |'
30 echo '+---------------------------------------------------------------+'
31 echo
32 echo 'Good Luck!'
33 echo
34
35 # Make the arrow keys work; everybody will love this.
36 set -o emacs 2>/dev/null
37
38 cd /