Indeed,

try:
Put script in /etc/init.d and make it executable.
update-rc.d /etc/init.d/scriptname defaults
This auto creates symblinks into the correct places.
To stop the script at startup use:
update-rc.d /etc/init.d/scriptname remove

man update-rc.d


---------------------------------------- > Date: Wed, 2 May 2007 18:06:13 +0700 
> From: [EMAIL PROTECTED] > To: [email protected] > Subject: debian 
way to start firewall > > Hello! > Distro etch, stable, i386. > I have a 
firewall script (based on iptables) and it works perfectly on > debian and 
other distros but where am I to put it? I found nothing in > debian-reference 
(at least grepping "iptables" gave no answers). I > googled and found different 
solutions based on putting script in init.d > and linking it to rc[0-6]. That's 
all right and will work but is there > "debian way" to do that? > Vladi. > > > 
-- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of 
"unsubscribe". Trouble? Contact [EMAIL PROTECTED] >

Reply via email to