Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-04-2004, 02:32 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
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.
Old 12-04-2004, 02:37 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
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.
Old 12-04-2004, 05:02 PM   #3
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 309

Rep: Reputation: 40
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 09:40 PM
Slackware Startup script CPUFreak91 Linux - Newbie 3 07-19-2005 05:19 PM
startup script ... again. Vindane Linux - Wireless Networking 2 03-04-2005 02:57 AM
startup script under X + RH mehesque Linux - General 2 06-16-2004 05:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration