From 17b9532b0c81d54b2e9634054a2272e0a29662c7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 24 Jan 2005 23:39:05 +0000 Subject: Do not try to execute * --- etc/rc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 1c93637..caa9e2d 100755 --- a/etc/rc +++ b/etc/rc @@ -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 -- cgit v1.1