summaryrefslogtreecommitdiff
path: root/etc/rc.securelevel
blob: 9e835ea79961907d54795fc691e2e98cf4936bae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$OpenBSD: rc.securelevel,v 1.10 1998/09/18 23:52:01 deraadt Exp $
#
# site-specific startup actions, daemons, and other things which
# can be done BEFORE your system goes into securemode.  For actions
# which should be done AFTER your system has gone into securemode
# please see /etc/rc.local

# This is the desired security level
# XXX
# XXX it is not really acceptable to put this value in a configuration
# XXX file, because locking it down requires immutability on about
# XXX 5 files instead of 2 (the kernel and init)
# XXX
securelevel=1

echo -n 'starting pre-securelevel daemons:'

# Former ntpd versions was called xntpd, change the ntpd references below
# to xntpd if you run such a version.
if [ X"${ntpd}" == X"YES" -x /usr/local/sbin/ntpd ]; then
       /usr/local/sbin/tickadj -Aq
       echo -n ' ntpd';       /usr/local/sbin/ntpd
fi

echo '.'