View Single Post
Old 11-05-2006, 09:29 AM   #85
Henry Loenwind
Enthusiast
Henry Loenwind is on a distinguished road
 
Posts: 28
Karma: 73
Join Date: Jul 2006
Quote:
Originally Posted by scotty1024
Since your script never exits you need to add a &:
That's already at the end of the startup.sh. But changing to sourcing would be an enhancement here, no need to start a new process for cp+chmod...

(The daemon.sh is the one that's not exiting. I copy that to /tmp so it won't run from a file system that will be unmounted.)

Edit: But I found it makes more sense to check for a startup.sh on the card first, in case the startup.sh in the internal memory was corrupted (bad edit or so). Changed the script and added a warning on the "dangerous" scripts.

Last edited by Henry Loenwind; 11-05-2006 at 09:32 AM.
Henry Loenwind is offline   Reply With Quote