OK - forgive me but I am a linux idiot. So hopefully this is an easy question. I need to start a script after the NIT boots and is fully operational (ie connected to the network, etc). What is the easiest way to accomplish this?
Basically I need the equivalent of the "Start Up" folder in windows.
OK - forgive me but I am a linux idiot. So hopefully this is an easy question. I need to start a script after the NIT boots and is fully operational (ie connected to the network, etc). What is the easiest way to accomplish this?
Basically I need the equivalent of the "Start Up" folder in windows.
Basically when the system reaches the corresponding runlevel those scripts are called. Maemo boots up to runlevel 2
So you cd /etc/rc2.d
Then you would link the script to this directory
If you do an ls (LS) you will see lots of links starting with S or K. When entering runlevel 2 it will start in order the S script links. So if you wanted your script to start last, you would link it to the highest number.
cd /etc/rc2.d
ln -s /etc/init.d/script.sh S99scripttocall