diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-24 23:39:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-24 23:39:05 +0000 |
commit | 17b9532b0c81d54b2e9634054a2272e0a29662c7 (patch) | |
tree | 7d05f656bb6c32957f227b0964055131cc87b619 /etc/rc | |
parent | 890b0516d9b5839dbdc81f3334e08c24c68269ee (diff) | |
download | pfsense-17b9532b0c81d54b2e9634054a2272e0a29662c7.zip pfsense-17b9532b0c81d54b2e9634054a2272e0a29662c7.tar.gz |
Do not try to execute *
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -70,17 +70,19 @@ cd /var/run && cp /dev/null utmp && chmod 644 utmp /sbin/pfctl -f /tmp/rules.debug >/dev/null 2>&1 /sbin/pfctl -e >/dev/null 2>&1 -echo Starting Secure Shell Services ... -/etc/sshd - echo Starting INETD for FTP-PROXY... /usr/sbin/inetd -wW -C 60 +echo Starting Secure Shell Services ... +/etc/sshd + /usr/sbin/cron 2>/dev/null -for FILE in /usr/local/etc/rc.d/* ; do - echo "Starting ${FILE}..." - sh $FILE +for FILE in /usr/local/etc/rc.d/*.sh; do + if [ -e $FILE ]; then + echo "Starting ${FILE}..." + sh $FILE + fi done exit 0 |