[nycbug-talk] Script in /usr/local/etc/rc.d doesn't run

Francisco Reyes lists
Sat Dec 31 13:46:16 EST 2005

Tried the questions list.. but zero response so far..
Last issue before this machine goes in production. :-( 

I have one script in /usr/local/etc/rc.d that doesn't run. Any ideas why?
It is marked as executable

ls -l /usr/local/etc/rc.d/
-r-xr-xr-x  1 root  wheel   441B Dec 30 20:36 start-program.sh

The script is just:


echo ----------------->>$log
/bin/date >>$log
echo Entering program.sh >>$log

case "$1" in
               echo Starting program
               echo ================= >>$log
               echo Starting program >>$log
               /home/root/bin/archivec.pl >> $log
               echo beyond program call >> $log
               echo No Stopping procedure yet
               echo Need parameter
               echo Valid parameter: start

All the echo are just debuggin tools.. It seems the script simply doesn't 

More information about the talk mailing list