UTERMINAL
TERMINAL
NEXT
$V1$
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
WRITERC
/etc/mount /dev/usr /usr
rm -rf /tmp/*
cron
stty 9600 < /dev/lp1
echo "MULTI-USER"
GO
/etc/rc
FUNCTION
Principal multi-user mode initialization
command file.
SOME OPTIONS
The data and the parameters inside /etc/rc will vary
between systems. This file can be edited provided one
has permission.
/etc/rc usually performs the following actions:
- Mounts file systems other than root
- Starts line printer daemon/port
- Starts update daemon - update
- Starts clock daemon - cron
- Prints system configuration messages
To see a typical /etc/rc file
please type cat /etc/rc.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type cat /etc/rc
Please type cat /etc/rc
You will be helped this time.
$PROMPT$
FORGET1
Observe the result on the terminal.
$PROMPT$cat /etc/rc
Let us analyze the entries:
/etc/mount /dev/usr /usr
/etc/mount /dev/usr /usr, says to mount
the file system /dev/usr on the directory /usr
/etc/mount /dev/usr /usr
rm -rf /tmp/*
rm -rf /tmp/*, removes all entries from the directory /tmp
without complaining.
/etc/mount /dev/usr /usr
rm -rf /tmp/*
cron
cron starts the clock daemon, which
schedules the processes entered in the
/usr/lib/crontab file.
/etc/mount /dev/usr /usr
rm -rf /tmp/*
cron
stty 9600 < /dev/lp1
stty 9600 < /dev/lp1, sets up the
baud rate for the serial terminal interface.
/etc/mount /dev/usr /usr
rm -rf /tmp/*
cron
stty 9600 < /dev/lp1
echo "MULTI-USER"
echo "MULTI-USER" echoes at the
console that the MULTI-USER mode has begun.