From e8a68365ae7143e69762e9f53ee4394d0f7fd0fc Mon Sep 17 00:00:00 2001 From: dima <> Date: Sun, 1 Feb 1998 22:30:33 +0000 Subject: [PATCH] "if [ -f" --> "if [ -x" --- src/etc/rc.local | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/etc/rc.local b/src/etc/rc.local index 77a28ab5..8d93735e 100644 --- a/src/etc/rc.local +++ b/src/etc/rc.local @@ -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 # can be done AFTER your system goes into securemode. For actions @@ -10,20 +10,20 @@ 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 fi -if [ -f /usr/local/sbin/sshd ]; then +if [ -x /usr/local/sbin/sshd ]; then echo -n ' sshd'; /usr/local/sbin/sshd fi -if [ -f /usr/local/sbin/cfsd ]; then +if [ -x /usr/local/sbin/cfsd ]; then echo -n ' cfsd'; /usr/local/sbin/cfsd mount -o port=3049,nfsv2,intr localhost:/null /crypt fi -if [ -f /usr/local/sbin/snmpd ]; then +if [ -x /usr/local/sbin/snmpd ]; then echo -n ' snmpd'; /usr/local/sbin/snmpd fi