Annotation of src/etc/rc.local, Revision 1.28
1.28 ! deraadt 1: # $OpenBSD: rc.local,v 1.27 1999/09/28 07:19:41 deraadt Exp $
1.4 deraadt 2:
1.10 deraadt 3: # site-specific startup actions, daemons, and other things which
4: # can be done AFTER your system goes into securemode. For actions
5: # which should be done BEFORE your system has gone into securemode
6: # please see /etc/rc.securelevel
7:
8: # site-specific startup actions, daemons which can be run
1.4 deraadt 9: # Add your local changes additions to this file
1.1 deraadt 10:
1.4 deraadt 11: echo -n 'starting local daemons:'
1.12 millert 12:
1.18 dima 13: if [ -x /usr/local/sbin/cfsd ]; then
1.19 dima 14: if ps auxc | grep -q '^ *root .* mountd$'; then
1.24 fgsch 15: echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1
1.19 dima 16: mount -o port=3049,nfsv2,intr localhost:/null /crypt
17: else
18: echo -n ' cfsd (failed, no mountd running)'
19: fi
1.17 mickey 20: fi
21:
1.18 dima 22: if [ -x /usr/local/sbin/snmpd ]; then
1.17 mickey 23: echo -n ' snmpd'; /usr/local/sbin/snmpd
1.16 angelos 24: fi
25:
26: # set pcvt screen saver time to 5min (see scon(1) for more options)
1.28 ! deraadt 27: #if [ -x /usr/sbin/ispcvt -a -x /usr/sbin/scon ] && /usr/sbin/ispcvt; then
1.12 millert 28: # echo -n ' scon'; /usr/sbin/scon -t 300
1.15 deraadt 29: #fi
1.1 deraadt 30:
31: echo '.'
1.25 angelos 32:
33: # Netatalk stuff
1.26 angelos 34: if [ -f /etc/netatalk/rc.atalk ]; then
1.25 angelos 35: . /etc/netatalk/rc.atalk
36: fi
37: