Re: [Nolug] debian question

From: Scott Harney <scotth_at_scottharney.com>
Date: Thu, 07 Aug 2003 07:11:54 -0500
Message-ID: <87d6fhbrat.fsf@zenarcade.local.lan>

Joey Kelly <joey@joeykelly.net> writes:

> I don't need start|stop|whatever.... I just need it to run at boot. For
> instance, I have a firewall script (iptables) that I wrote, and want it take
> effect at boot time. Also from time to time I have some other scripts that
> needs to run at boot.

doesn't matter. It needs to be in /etc/init.d and then
update-rc.d to put it in the runlevel structure. Just call it
local, stick all your commands in the start() and put nothing
in stop(),restart(),etc.

-- 
Scott Harney<scotth@scottharney.com>
"...and one script to rule them all."
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/07/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST