rc.local revision 1.10.2.1
1#
2# site-specific startup actions, daemons
3#
4#	From: @(#)rc.local	5.4 (Berkeley) 12/14/90
5#	$Id: rc.local,v 1.10.2.1 1994/08/24 05:05:12 mycroft Exp $
6#
7
8if [ ! -f /etc/motd ]; then
9	install -c -o root -g wheel -m 664 /dev/null /etc/motd
10fi
11T=/tmp/_motd
12rm -f $T
13sysctl -n kern.version | head -1 > $T
14echo "" >> $T
15sed '1,/^$/d' < /etc/motd >> $T
16# If you don't want the motd to always be updated, you could change the
17# following line to:
18#cmp -s $T /etc/motd || cp $T /etc/motd
19cp $T /etc/motd
20rm -f $T
21
22echo -n 'starting local daemons:'
23
24# Kerberos runs ONLY on the Kerberos server machine
25if [ X${kerberos_server} = X"YES" ]; then
26	echo -n ' kerberos';	kerberos >> /var/log/kerberos.log &
27fi
28
29echo '.'
30
31echo 'runtime link editor directory cache'
32ldconfig
33