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
|
1994-08-31 05:31:42 +00:00
|
|
|
uname -rs > $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
|
1995-01-25 05:06:34 +00:00
|
|
|
if [ X"${kerberos_server}" = X"YES" ]; then
|
1993-06-20 13:41:45 +00:00
|
|
|
echo -n ' kerberos'; kerberos >> /var/log/kerberos.log &
|
1995-01-25 05:06:34 +00:00
|
|
|
if [ -x /usr/sbin/kadmind ]; then
|
1995-01-26 02:58:31 +00:00
|
|
|
echo -n ' kadmind'; (sleep 20; /usr/sbin/kadmind -n >/dev/null 2>&1) &
|
1995-01-25 05:06:34 +00:00
|
|
|
fi
|
1993-06-20 13:41:45 +00:00
|
|
|
fi
|
|
|
|
|
1994-09-26 20:23:48 +00:00
|
|
|
# For loading fonts/keyboard example look in /usr/share/examples/syscons
|
|
|
|
# directory
|
|
|
|
|
1993-06-20 13:41:45 +00:00
|
|
|
echo '.'
|