diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-18 10:37:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-18 10:37:48 +0000 |
commit | a3c2f60f0819c6cca192143ea6932e6d8bb0e960 (patch) | |
tree | 48d191622bcbbdf39d65b325c7bfafb429ccab01 | |
parent | ffa2ea42b8b116d148c113bea0d2458accd19a2a (diff) |
presume sshd or httpd, if installed, are on
-rw-r--r-- | etc/rc.local | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/rc.local b/etc/rc.local index 4921e95014c..c3804884e42 100644 --- a/etc/rc.local +++ b/etc/rc.local @@ -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 # can be done AFTER your system goes into securemode. For actions @@ -10,13 +10,13 @@ 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) #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then |