24 lines
763 B
Plaintext
24 lines
763 B
Plaintext
# This file performs various system initializations.
|
|
|
|
# Initialize files.
|
|
>/etc/mtab # create file to log mounts
|
|
>/etc/utmp # /etc/utmp keeps track of logins
|
|
|
|
# Mount the floppy disk.
|
|
/bin/getlf "Please insert /usr diskette in drive 0. Then hit ENTER."
|
|
/etc/mount /dev/fd0 /usr # mount the floppy disk
|
|
|
|
# Try to read the hardware real-time clock, if there is one, to set the date
|
|
/usr/bin/date `/usr/bin/readclock` </dev/tty0
|
|
|
|
# Initialization (cannot be done until /usr is mounted).
|
|
>/usr/adm/wtmp # accounting information
|
|
/usr/bin/printroot >>/etc/mtab # /etc/mtab keeps track of mounts
|
|
|
|
# Initialize the first RS232 line to 1200 baud.
|
|
/usr/bin/stty 1200 </dev/tty1
|
|
|
|
#Display the message of the day and start update.
|
|
cat /etc/message
|
|
/etc/update &
|