[BACK]Return to rc.securelevel CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/rc.securelevel, Revision 1.7

1.7     ! deraadt     1: #      $OpenBSD: rc.securelevel,v 1.6 1998/01/16 14:05:45 niklas 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
                     15:
1.3       millert    16: echo 'starting pre-securelevel services:'
                     17:
                     18: # To run an accellerated X server when securelevel > 0 we must use /dev/ap.
                     19: # NOTE: modload will panic your kernel if the booted kernel is not /bsd.
                     20: #if [ -x /sbin/modload -a -x /usr/lkm/apinstall -a -r /usr/lkm/ap.o ]; then
                     21: #      echo 'Installing XFree86 aperture driver.'
                     22: #      rm -f /usr/lkm/ap
                     23: #      modload -o /usr/lkm/ap -p /usr/lkm/apinstall -e ap /usr/lkm/ap.o
                     24: #fi
                     25:
1.1       deraadt    26: echo -n 'starting pre-securelevel daemons:'
                     27:
1.6       niklas     28: # Former ntpd versions was called xntpd, change the ntpd references below
                     29: # to xntpd if you run such a version.
                     30: #if [ -x /usr/local/sbin/ntpd ]; then
1.3       millert    31: #       /usr/local/sbin/tickadj -Aq
1.6       niklas     32: #       echo -n ' ntpd';       /usr/local/sbin/ntpd
1.5       deraadt    33: #fi
1.1       deraadt    34:
                     35: echo '.'