This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / etc / etc.i386 / cpio.rc
CommitLineData
9a569d65 1# $Id: cpio.rc,v 1.1 1994/02/21 21:51:53 rgrimes Exp $
635dcafb
RG
2#
3
4stty status '^T'
5trap : 2
6trap : 3
7PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/distbin; export PATH
8if [ -e /fastboot ]
9then
10 echo Fast boot ... skipping disk checks
11else
12 echo Automatic reboot in progress...
13 fsck -p
14 case $? in
15 0)
16 ;;
17 2)
18 exit 1
19 ;;
20 4)
21 echo; echo README README README README README README README
22 echo
23 echo "NOTE: The above errors are expected if this is the"
24 echo "first time you have booted from the hard disk after"
25 echo "completing the floppy install"; echo
26 echo "Automatic file system check changed the root file system"
27 echo "The system must halt for these corrections to take effect"
28 echo
29 reboot
30 echo "reboot failed... help!"
31 exit 1
32 ;;
33 8)
34 echo "Automatic file system check failed... help!"
35 exit 1
36 ;;
37 12)
38 echo "Reboot interrupted"
39 exit 1
40 ;;
41 130)
42 exit 1
43 ;;
44 *)
45 echo "Unknown error in reboot"
46 exit 1
47 ;;
48 esac
49fi
50
51trap 2
52trap "echo 'Reboot interrupted'; exit 1" 3
53umount -a >/dev/null 2>&1
54mount -a -t nonfs
55rm -f /fastboot
56(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
57
58OPSYSTEM=FreeBSD
59RELEASE="1.1"
60echo "${OPSYSTEM} Base System Release ${RELEASE}"
61echo "\a"
62echo "Congratulations, you've got ${OPSYSTEM} on the hard disk!"
63echo
64echo "Press the return key for more installation instructions"
65read junkit
66echo
67echo "To finish installation:"
68echo "Pick a temporary directory by running set_tmp_dir. Make sure it's"
69echo "in a place with lots of space, probably under /usr."
70echo "Then, load the remaining distribution files into that temporary"
71echo "directory by issuing one of the following commands:"
72echo
9a569d65 73echo " load_dos load_fd load_qic_tape load_scsi_tape"
635dcafb
RG
74echo
75echo "or by fetching the files with ftp (see the installation notes for"
76echo "information on how to do that)."
77echo
78echo "Once this is complete, extract the distribution files by issuing the"
79echo "command 'extract <distribution>' where <distribution> is the base name"
80echo "of the distribution files, e.g. 'base10'."
81echo
82echo "Once all of the filesets you wish to install have been extracted,"
83echo "enter the command 'configure' to finish setting up the system"
84echo " "
85echo "If you should wish to uninstall ${OPSYSTEM}, delete the partition by using the"
86echo "DOS 5 FDISK program. If installed on the entire drive, use the FDISK/MBR"
87echo "to remove the ${OPSYSTEM} bootstrap from the drive."
88echo 'erase ^?, werase ^H, kill ^U, intr ^C'
89stty newcrt werase \b intr \ 3 kill \15 erase \7f 9600
90umask 0
91echo ". /magic" >>/.profile
92exit 1