[CentOS] Start scripts ordering
Phil Savoie
psavoie1783 at rogers.com
Sat Nov 26 15:48:27 UTC 2005
On Saturday 26 November 2005 10:34, Ignacio Vazquez-Abrams wrote:
> On Sat, 2005-11-26 at 10:25 -0500, Phil Savoie wrote:
> > Hi All,
> >
> > Was wondering if you could help me out. At work we are running CentOS
> > 4.2 as our mailserver/firewall. The script in question is
> > /etc/rc3.d/S08iptables. As this starts before the network adapters are
> > set up, it hoses our iptables script resulting in denying our internal
> > hosts internet access.
> >
> > What I would like to do is mv the script to /etc/rc3.d/S11iptables so the
> > the interfaces are up and then the iptables script kicks in. It is in
> > this way that we find it works best for us.
> >
> > However on a reboot we found that the "system" moved the script back to
> > it's original name of /etc/rc3.d/S08iptables.
> >
> > How would I "tell the system" to keep the script named
> > as /etc/rc3.d/S11iptables so that it does not automatically rename it
> > back to /etc/rc3.d/S08iptables?
>
> Edit the chkconfig line in /etc/init.d/iptables to read 11 instead of
> 08, then run:
>
> chkconfig iptables reset
Roger that! Thank you.
Phil
More information about the CentOS
mailing list