Annotation of src/etc/rc.securelevel, Revision 1.10
1.10 ! deraadt 1: # $OpenBSD: rc.securelevel,v 1.9 1998/03/25 23:08:12 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.10 ! deraadt 20: if [ X"${ntpd}" == X"YES" -x /usr/local/sbin/ntpd ]; then
! 21: /usr/local/sbin/tickadj -Aq
! 22: echo -n ' ntpd'; /usr/local/sbin/ntpd
! 23: fi
1.1 deraadt 24:
25: echo '.'