Click to See Complete Forum and Search --> : Might be a real newbie question


jderaleau
01-14-2001, 02:14 PM
But I am a newbie http://www.linuxnewbie.org/ubb/wink.gif I'm trying to load a MASQ script I created, I chmod it fine, it runs, the problem I'm having is I want it to load at startup. I tried putting it at the end of rc.local, but it's not loading for me? Any help would be appreciated.

Jason D

Craig McPherson
01-14-2001, 02:42 PM
How did you add it to your rc.local? The simplest thing to do would just be to add the lines of the script to the end of your rc.local script. You could cat them together like this: cat firewallscript >> rc.local

If you actually want to call the firewall script from rc.local, do it like this:

sh /full/path/firewall

jderaleau
01-14-2001, 02:54 PM
I have it setup as a file that's

/etc/rc.d/rc.firewall

the script does it's thing, and I put it in rc.local before the last fi (I'm using RH 7.0) exactly like above. I also tried popping in a line to run dhcpd just after that, and that isn't running right either?

/usr/sbin/dhcpd eth0

Jason D

------------------
*These are my opions...MINE...back away.*

jderaleau
01-14-2001, 03:00 PM
hmm...I put it after the last fi and it's working now....nevermind then... http://www.linuxnewbie.org/ubb/smile.gif

Jason D

------------------
*These are my opions...MINE...back away.*

jderaleau
01-14-2001, 03:07 PM
Or not....I sent you a mail...