1993-06-20 13:41:45 +00:00
|
|
|
#
|
|
|
|
# site-specific startup actions, daemons
|
|
|
|
#
|
|
|
|
# @(#)rc.local 5.4 (Berkeley) 12/14/90
|
|
|
|
#
|
|
|
|
|
|
|
|
T=/tmp/_motd
|
|
|
|
rm -f $T
|
1993-10-18 19:08:36 +00:00
|
|
|
uname -a > $T
|
1993-06-20 13:41:45 +00:00
|
|
|
echo "" >> $T
|
|
|
|
sed '1,/^$/d' < /etc/motd >> $T
|
|
|
|
cp $T /etc/motd
|
1994-06-03 08:54:35 +00:00
|
|
|
chmod 644 /etc/motd
|
1993-06-20 13:41:45 +00:00
|
|
|
rm -f $T
|
|
|
|
|
|
|
|
echo -n 'starting local daemons:'
|
|
|
|
|
|
|
|
# Kerberos runs ONLY on the Kerberos server machine
|
|
|
|
if [ X${kerberos_server} = X"YES" ]; then
|
|
|
|
echo -n ' kerberos'; kerberos >> /var/log/kerberos.log &
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo '.'
|