add sccs id
[unix-history] / usr / src / etc / rc.local
CommitLineData
9f954d1d
KB
1#
2# site-specific startup actions, daemons
3#
abf2af5d 4# @(#)rc.local 5.2 (Berkeley) %G%
9f954d1d
KB
5#
6
7strings /vmunix | grep UNIX >/tmp/t1
8tail +2 /etc/motd >>/tmp/t1
9mv /tmp/t1 /etc/motd
10chmod 666 /etc/motd
11
12echo -n starting local daemons: >/dev/console
13#if [ -f /usr/sbin/timed ]; then
14# timed -M & echo -n ' timed' >/dev/console
15#fi
abf2af5d
KS
16if [ -f /usr/sbin/sendmail ]; then
17 (cd /var/spool/mqueue; rm -f lf*)
18 /usr/sbin/sendmail -bd -q30m; echo -n ' sendmail' >/dev/console
9f954d1d
KB
19fi
20 echo '.' >/dev/console