Annotation of src/etc/rc.securelevel, Revision 1.12
1.12 ! mickey 1: # $OpenBSD: rc.securelevel,v 1.11 1998/09/21 09:34:47 deraadt Exp $
1.1 deraadt 2: #
3: # site-specific startup actions, daemons, and other things which
4: # can be done BEFORE your system goes into securemode. For actions
5: # which should be done AFTER your system has gone into securemode
6: # please see /etc/rc.local
7:
8: # This is the desired security level
9: # XXX
1.4 kstailey 10: # XXX it is not really acceptable to put this value in a configuration
1.1 deraadt 11: # XXX file, because locking it down requires immutability on about
12: # XXX 5 files instead of 2 (the kernel and init)
13: # XXX
14: securelevel=1
1.3 millert 15:
1.1 deraadt 16: echo -n 'starting pre-securelevel daemons:'
17:
1.6 niklas 18: # Former ntpd versions was called xntpd, change the ntpd references below
19: # to xntpd if you run such a version.
1.11 deraadt 20: if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \
21: -a -e /etc/ntp.conf ]; then
1.10 deraadt 22: /usr/local/sbin/tickadj -Aq
1.12 ! mickey 23: echo -n ' ntpd'; /usr/local/sbin/ntpd -p /var/run/ntpd.pid
1.10 deraadt 24: fi
1.1 deraadt 25:
26: echo '.'