LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Startup Daemon on Boot (http://www.linuxquestions.org/questions/linux-newbie-8/startup-daemon-on-boot-132931/)

EuroJovi 01-08-2004 11:12 PM

Startup Daemon on Boot
 
How do you do this? I want OpenMosix's Auto-discovery daemon (omdiscd) to run when I boot the computer so that I won't have to login as root to start it every time. Is this possible???

Thanks!

Troy

Demonbane 01-08-2004 11:18 PM

which distro?

EuroJovi 01-08-2004 11:24 PM

debian/knoppix HD install. ClusterKnoppix to be more specific.

Troy

Demonbane 01-09-2004 12:34 AM

this is for debian, probably the same for Knoppix as well:
make a file in /etc/init.d, i'll call it rc.local, with the following content

#! /bin/sh

<your commands to execute>

Make this file executable with:
chmod +x /etc/init.d/rc.local

then links it to all runlevels
update-rc.d rc.local defaults 99

EuroJovi 01-09-2004 11:39 AM

Demonbane,

That did it! Thanks a ton!!!!

Troy


All times are GMT -5. The time now is 10:15 PM.