Quote:
Originally Posted by tribble
I was just thinking about making such a startscript.
I checked rc5.d and saw, that their start script is S99.
I just wanted to put a script in there, that would check on the external devices (and only there, so you can pull out the card and start normally, if something in the autorun script goes wrong)
So how do i get my script to run after the S99start? Or can i do something like call another script with a & behind and let that script sleep for a while?
Thanks for your help.
|
Call it S99z
Here's one I made earlier:
Code:
#!/bin/sh
if test -f /mnt/card/startup.sh
then
/bin/sh /mnt/card/startup.sh
fi
: exit 0