Re: boot scripts
On Tue, 30 Jul 2002 08:26:44 -0400
"R. Bradley Tilley" <rtilley@vt.edu> wrote:
> I have an iptables firewall script that I would like to execute
> automatically at boot. I expected to find a rc.boot or rc.local file
> where I could enter the path to the FW script so it would start at each
> boot, but I only found a rc.boot directory. I am running Debian 3.0
> stable.
>
> My question is, what do I put into the rc.boot directory to make the
> script start? Or if that's not the place to put this type of thing,
> where is it?
The normal way to do this is to create a new control script
(/etc/init.d/skeleton is a good starting point) that will start and stop
your firewall script as needed. Then link this into the proper run
levels.
--
Jamin W. Collins
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: