Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Startup Scripts< Next Oldest | Next Newest >
nbla Offline





Group: Members
Posts: 5
Joined: May 2005
Posted: May 04 2005,09:25 QUOTE

Ok, so i installed DSL to the hdd, and installed jakarta tomcat. But I can't seem to find a Startupscript, like rc.local, to have it start whenever i reboot... any tips or suggestions? :)

thanks!
Back to top
Profile PM 
nbla Offline





Group: Members
Posts: 5
Joined: May 2005
Posted: May 04 2005,12:14 QUOTE

ok i solved it by putting it in /etc/init.d/knoppix-autoconfig, but i dont know if this is the right way to do it :P
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 04 2005,13:20 QUOTE

You can add your commands to any startup script but to keep things organized, and to prevent problems with certain commands running too early, the standard place is /opt/bootlocal.sh

I assume it's in /opt rather than /etc/init.d so that it will be easy to manage in a backup/restore system.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
nbla Offline





Group: Members
Posts: 5
Joined: May 2005
Posted: May 04 2005,13:30 QUOTE

oh, ok, thanks for the tip! :)
Back to top
Profile PM 
friedgold Offline





Group: Members
Posts: 122
Joined: Mar. 2005
Posted: May 05 2005,13:31 QUOTE

Alternatively if installed via apt-get on a hdinstall it may have already put a init script in /etc/init.d/. If this is the case then it would be best to use update-rc.d to add it to your startup. Use man update-rc.d to findout the syntax.
Back to top
Profile PM 
5 replies since May 04 2005,09:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Startup Scripts

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code