slackware 10 startup script
hey guys,
i was wondering how i could make my shell script containing iptables commands startup at boot. there are no rc1.d...rc5.d directories and i have tried putting the commands into rc.local but its not starting up for some reason. could anyone help me with this, thanks. |
Actually Slackware usually has a rc.firewall script you can have rc.M call upon that I'm sure you place your iptables or firewall rules into. I'd suggest trying that first.
|
slackware 10
Hello jonc
You will find that /etc/rc.d/rc/inet2 has some script in it that will start your iptables script, if you name the iptables script you created rc.firewall. Also, you need to place your rc.firewall script in /etc/rc.d and make it executable. Doing that will make your script start automatically at the right time of the boot process. I don't know who created the default rc scripts, but they did a great job. (is it Patrick Volkerding?) Good Luck |
All times are GMT -5. The time now is 07:19 AM. |