[newbie] Script in the init dir

2003-12-05 Thread Alexandre Aractingi
I can't seem to be able to run a script when my machine boots up... I copied it in /etc/init.d/ though, and I can run it from the shell (/etc/init.d/myscript start), but it's not launched at boot time. Am I missing something here? Thanks, -- Alexandre Aractingi [EMAIL PROTECTED] Want to buy

Re: [newbie] Script in the init dir

2003-12-05 Thread Adolfo Bello
On Fri, 2003-12-05 at 07:50, Alexandre Aractingi wrote: I can't seem to be able to run a script when my machine boots up... I copied it in /etc/init.d/ though, and I can run it from the shell (/etc/init.d/myscript start), but it's not launched at boot time. Am I missing something here?

Re: [newbie] Script in the init dir

2003-12-05 Thread Alexandre Aractingi
Le ven 05/12/2003 à 13:12, Adolfo Bello a écrit : Startup scripts has to follow some rules. For example, it is mandatory to have a coupe of lines hinting default runlevels and priority at start up and shutdown. Something like: # chkconfig: 2345 90 20 # description: A comment to describe

Re: [newbie] Script in the init dir

2003-12-05 Thread Raffaele Belardi
I thought that the start and stop priority were provided by the /etc/rcx.d/ symlink names, i.e. S03iptables S10network starts iptables before network. Are those two lines relly needed by rc script, or by some other configuration utility? thanks, raffaele [EMAIL PROTECTED] wrote: On Fri,

Re: [newbie] Script in the init dir

2003-12-05 Thread Adolfo Bello
On Fri, 2003-12-05 at 09:27, Raffaele Belardi wrote: I thought that the start and stop priority were provided by the /etc/rcx.d/ symlink names, i.e. S03iptables S10network starts iptables before network. Are those two lines relly needed by rc script, or by some other configuration

Re: [newbie] Script in the init dir

2003-12-05 Thread Sharrea Day
On Sat, 06 Dec 2003 00:50, Alexandre Aractingi wrote: I can't seem to be able to run a script when my machine boots up... I copied it in /etc/init.d/ though, and I can run it from the shell (/etc/init.d/myscript start), but it's not launched at boot time. Am I missing something here? Or you