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

Annotation of src/etc/rc.local, Revision 1.18

1.18    ! dima        1: #      $OpenBSD: rc.local,v 1.17 1998/01/12 00:32:45 mickey Exp $
1.4       deraadt     2:
1.10      deraadt     3: # site-specific startup actions, daemons, and other things which
                      4: # can be done AFTER your system goes into securemode.  For actions
                      5: # which should be done BEFORE your system has gone into securemode
                      6: # please see /etc/rc.securelevel
                      7:
                      8: # site-specific startup actions, daemons which can be run
1.4       deraadt     9: # Add your local changes additions to this file
1.1       deraadt    10:
1.4       deraadt    11: echo -n 'starting local daemons:'
1.1       deraadt    12:
1.18    ! dima       13: if [ -x /usr/local/etc/httpd/httpd ]; then
1.14      deraadt    14:        echo -n ' httpd';       /usr/local/etc/httpd/httpd
                     15: fi
1.1       deraadt    16:
1.18    ! dima       17: if [ -x /usr/local/sbin/sshd ]; then
1.14      deraadt    18:        echo -n ' sshd';        /usr/local/sbin/sshd
                     19: fi
1.12      millert    20:
1.18    ! dima       21: if [ -x /usr/local/sbin/cfsd ]; then
1.16      angelos    22:        echo -n ' cfsd';        /usr/local/sbin/cfsd
                     23:        mount -o port=3049,nfsv2,intr localhost:/null /crypt
1.17      mickey     24: fi
                     25:
1.18    ! dima       26: if [ -x /usr/local/sbin/snmpd ]; then
1.17      mickey     27:        echo -n ' snmpd';       /usr/local/sbin/snmpd
1.16      angelos    28: fi
                     29:
                     30: # set pcvt screen saver time to 5min (see scon(1) for more options)
1.12      millert    31: #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then
                     32: #      echo -n ' scon';        /usr/sbin/scon -t 300
1.6       deraadt    33: #fi
                     34:
1.11      millert    35: # Alternatively, xdm may be started in /etc/ttys.
                     36: #if [ -x /usr/X11R6/bin/xdm ]; then
                     37: #      echo -n ' xdm';         /usr/X11R6/bin/xdm
1.15      deraadt    38: #fi
1.1       deraadt    39:
                     40: echo '.'