-   Linux - Newbie (
-   -   Startup Daemon on Boot (

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???



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.


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


That did it! Thanks a ton!!!!


All times are GMT -5. The time now is 01:22 PM.