Thread: iLiad Autorun on startup
View Single Post
Old 11-23-2006, 02:01 PM   #2
design256
Connoisseur
design256 doesn't litterdesign256 doesn't litter
 
Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
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
design256 is offline   Reply With Quote