Browse Source

presume sshd or httpd, if installed, are on

OPENBSD_2_2
deraadt 27 years ago
parent
commit
a7822bdc37
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/etc/rc.local

+ 7
- 7
src/etc/rc.local View File

@ -1,4 +1,4 @@
# $OpenBSD: rc.local,v 1.13 1997/07/28 07:44:40 deraadt Exp $
# $OpenBSD: rc.local,v 1.14 1997/10/18 10:37:47 deraadt 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,13 +10,13 @@
echo -n 'starting local daemons:' echo -n 'starting local daemons:'
#if [ -f /usr/local/etc/httpd/httpd ]; then
# echo -n ' httpd'; /usr/local/etc/httpd/httpd
#fi
if [ -f /usr/local/etc/httpd/httpd ]; then
echo -n ' httpd'; /usr/local/etc/httpd/httpd
fi
#if [ -f /usr/local/sbin/sshd ]; then
# echo -n ' sshd'; /usr/local/sbin/sshd
#fi
if [ -f /usr/local/sbin/sshd ]; then
echo -n ' sshd'; /usr/local/sbin/sshd
fi
# Set pcvt screen saver time to 5min (see scon(1) for more options) # Set pcvt screen saver time to 5min (see scon(1) for more options)
#if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then


Loading…
Cancel
Save