|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc.local,v 1.17 1998/01/12 00:32:45 mickey Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.local,v 1.18 1998/02/01 22:30:33 dima Exp $ |
|
|
|
|
|
|
|
|
# site-specific startup actions, daemons, and other things which |
|
|
# site-specific startup actions, daemons, and other things which |
|
|
# can be done AFTER your system goes into securemode. For actions |
|
|
# can be done AFTER your system goes into securemode. For actions |
|
@ -10,20 +10,20 @@ |
|
|
|
|
|
|
|
|
echo -n 'starting local daemons:' |
|
|
echo -n 'starting local daemons:' |
|
|
|
|
|
|
|
|
if [ -f /usr/local/etc/httpd/httpd ]; then |
|
|
|
|
|
|
|
|
if [ -x /usr/local/etc/httpd/httpd ]; then |
|
|
echo -n ' httpd'; /usr/local/etc/httpd/httpd |
|
|
echo -n ' httpd'; /usr/local/etc/httpd/httpd |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -f /usr/local/sbin/sshd ]; then |
|
|
|
|
|
|
|
|
if [ -x /usr/local/sbin/sshd ]; then |
|
|
echo -n ' sshd'; /usr/local/sbin/sshd |
|
|
echo -n ' sshd'; /usr/local/sbin/sshd |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -f /usr/local/sbin/cfsd ]; then |
|
|
|
|
|
|
|
|
if [ -x /usr/local/sbin/cfsd ]; then |
|
|
echo -n ' cfsd'; /usr/local/sbin/cfsd |
|
|
echo -n ' cfsd'; /usr/local/sbin/cfsd |
|
|
mount -o port=3049,nfsv2,intr localhost:/null /crypt |
|
|
mount -o port=3049,nfsv2,intr localhost:/null /crypt |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -f /usr/local/sbin/snmpd ]; then |
|
|
|
|
|
|
|
|
if [ -x /usr/local/sbin/snmpd ]; then |
|
|
echo -n ' snmpd'; /usr/local/sbin/snmpd |
|
|
echo -n ' snmpd'; /usr/local/sbin/snmpd |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|