summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-07-28 20:19:47 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-07-28 20:19:47 +0000
commite473987225f231c173d9dc64099759c1e47708c5 (patch)
tree55c8ff6c5fd5190fd557d85d98d856e65a9f182c
parent307bb8955601b93469b009889fb8ec0dcd661ebe (diff)
remove port startup code, it's all moved to the respective port
ok deraadt, toby, pedro, david
-rw-r--r--etc/rc.local27
1 files changed, 4 insertions, 23 deletions
diff --git a/etc/rc.local b/etc/rc.local
index 9cc0fd6eb2f..83284ff292a 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -1,32 +1,13 @@
-# $OpenBSD: rc.local,v 1.38 2005/03/29 21:41:59 uwe Exp $
+# $OpenBSD: rc.local,v 1.39 2006/07/28 20:19:46 sturm Exp $
-# site-specific startup actions, daemons, and other things which
+# Site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
-# please see /etc/rc.securelevel
-
-# site-specific startup actions, daemons which can be run
-# Add your local startup actions to this file
+# please see /etc/rc.securelevel.
echo -n 'starting local daemons:'
-if [ -x /usr/local/sbin/cfsd ]; then
- if ps auxc | grep -q '^ *root .* mountd$'; then
- echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1
- mount -o port=3049,nfsv2,intr localhost:/null /crypt
- else
- echo -n ' cfsd (failed, no mountd running)'
- fi
-fi
-
-#if [ -x /usr/local/sbin/snmpd ]; then
-# echo -n ' snmpd'; /usr/local/sbin/snmpd
-#fi
+# Add your local startup actions here.
echo '.'
-# Netatalk stuff
-#if [ -f /etc/netatalk/rc.atalk ]; then
-# . /etc/netatalk/rc.atalk
-#fi
-