I'm having a problems running a script on start up.
Here is the process I have followed:
1. Created a script at /etc/init.d/my_script.sh which runs an application at
/home/eclipse/my_app
2. permitted execution as follows:
chmod +x /etc/init.d/my_script.sh
chmod +x /home/eclipse/my_app
3. assigned it to run on runlevel 3 as follows:
update-rc.d -f my_script.sh start 99 3 .
Now, if I change runlevels and change back to runlevel 3 by calling
telinit 2
telinit 3
the script runs, and the application my_app starts running.
All fine so far...
However, when I reboot the device, my_app is never running when the device has
booted up, even though I am in runlevel 3, suggesting that that my_script is
not run on startup.
Can anyone suggest why it might not be running at startup?
Is there any way of getting a record of scripts that are run on start up?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|