My setup is simply, as follows: rc.firewall in the /etc/rc.d directory then I add the following line to my rc.local file:
/etc/rc.d/rc.firewall everything works great and it's launched at the end of startup routine. this has worked for redhat 5.2, 6.0, 6.2, 7.0 and 7.1 carl -----Original Message----- From: Mariusz Pekala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 12:12 PM To: [EMAIL PROTECTED] Subject: Re: rc.firewall On Wed 28 November 2001 20:47, you (Gábor Szemerédy) wrote: > Hello! > When I put rc.firewall file in /etc/rc.d/ directory it is not executed > by system startup > and my masquerading of my local addresses is not working! > After manual execution of /etc/rc.d/rc.firewall everything is OK. > Why is rc.firewall not executed from /etc/rc.d by the system startup? > My system is RH 6.2. In RH 6.0 it works automatically. > Thanks I'm not sure whether this is right for RH 6.2 (I'm on 7.1) but I think you should create a symbolic link in the /etc/rc.d/rc{level}.d pointing to your script. The name of the link should be: S[0-9][0-9]name. If the program chkconfig is included in your distribution, use it. To be sure how the system starts, look at the file /etc/inittab and recursively look at the scripts that are noted here (for example something like: /etc/rc.d/rc 5 -script called for the runlevel 5 on my machine) See man inittab and man init for more info. --Mariusz -- Tego nie znajdziesz w żadnym sklepie! [ http://oferty.onet.pl ] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list