File: [local] / src / etc / Attic / rc.securelevel (download)
Revision 1.7, Mon Feb 16 23:24:13 1998 UTC (26 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +1 -5 lines
move fs.posix.setuid to sysctl.conf
|
# $OpenBSD: rc.securelevel,v 1.7 1998/02/16 23:24:13 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 'starting pre-securelevel services:'
# To run an accellerated X server when securelevel > 0 we must use /dev/ap.
# NOTE: modload will panic your kernel if the booted kernel is not /bsd.
#if [ -x /sbin/modload -a -x /usr/lkm/apinstall -a -r /usr/lkm/ap.o ]; then
# echo 'Installing XFree86 aperture driver.'
# rm -f /usr/lkm/ap
# modload -o /usr/lkm/ap -p /usr/lkm/apinstall -e ap /usr/lkm/ap.o
#fi
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 /usr/local/sbin/ntpd ]; then
# /usr/local/sbin/tickadj -Aq
# echo -n ' ntpd'; /usr/local/sbin/ntpd
#fi
echo '.'