summaryrefslogtreecommitdiffstats
path: root/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.local')
-rw-r--r--etc/rc.local23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/rc.local b/etc/rc.local
new file mode 100644
index 0000000..d76e9f1
--- /dev/null
+++ b/etc/rc.local
@@ -0,0 +1,23 @@
+#
+# site-specific startup actions, daemons
+#
+# @(#)rc.local 5.4 (Berkeley) 12/14/90
+#
+
+T=/tmp/_motd
+rm -f $T
+strings /386bsd | grep version: | sed 's/version: /386BSD 0.1./' > $T
+echo "" >> $T
+sed '1,/^$/d' < /etc/motd >> $T
+cp $T /etc/motd
+chmod 666 /etc/motd
+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 '.'
OpenPOWER on IntegriCloud