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, 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? Thanks,
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 what this script does.
You have to handle at least the cases to start and stop the service you are dealing with this script.
OTOH, if you are trying to start a program, not a service, you better use rc.local.
HTH
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com