Posted: Sat Jul 17, 2010 15:20 Post subject: Startup script not running?
I have a script that works to WOL my PC when I try to remote desktop in. I can kick it off from the shell using the following command
/bin/sh /tmp/custom.sh &
and it'll run until the router reboots which is great but I cannot get the script to kick off on startup for me
I currently have this as the startup script
/bin/sh -c '/bin/sh /tmp/custom.sh' &
I've tried a bunch of different combinations but I'm not that knowledgable of linux
Here are other commands I've tried in the startup script
/bin/sh /tmp/custom.sh
/bin/sh /tmp/custom.sh &
sh /tmp/custom.sh
sh /tmp/custom.sh &
Here is the script main script that works fine if I kick it off from he shell then log out in case it has something to do with it (it's modifed using the Web WOL script)
Posted: Sun Jul 18, 2010 18:09 Post subject: work around
for whatever reason it's could not work, multiple line firewall scripts didn't seem to work too well either but I enabled cron and put the following 2 lines in