View Single Post
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#2
Originally Posted by JadeH View Post
Hey, I wrote a simple (bash) script to do some stuff on my N900 that would need to ideally be started at boot, the script takes care of the rest (sleeping for a while, looping, etc), so it would only needed to be started whenever the N900 boots.. but how? I tried to search a bit on the forums but didn't really find anything.

Thanks!
Take a look in /etc/event.d there are many startup scripts. You want to use this template

PHP Code:
start on started rcS-late
script
foobar
more foobar
end script 
But there is no way to debug ( if you don't use the sdk ) so be sure you want it!

Last edited by epitaph; 2011-03-23 at 23:24.