-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian Bunnell wrote: > Hello > > Thank you very much for helping me. I have a perfectly good netfilter > script that I run from the command line and everything works fine. I would > like this script to run when I boot up the computer. I am having a lot of > trouble finding quality resources on the net about this. > > There are great resources for learning how to use netfilter. However, when > it comes to startup scripts, all the examples seem to be 25 pages long and > incomprehensible or wnat me to completely rewrite the script I already have. > > Why can't I just tell the computer to run my script instead of the "Let the > world in" script it runs at boot? > > Does anyone have any recommendations, resources or better yet, a good > concise example for run level 3? If you are on a chkconfig/sysv system just add the necessary chkconfig entries to the top of your script, drop it in /etc/init.d and chkconfig {script name} on. Make sure you disable the iptables scripts if on a redhat box. The PCX Firewall project will generate a redhat init script. http://pcxfirewall.sf.net/ Use that for examples on how to modify your script. - -- James A. Pattie james@pcxperience.com Linux -- SysAdmin / Programmer Xperience, Inc. http://www.pcxperience.com/ http://www.xperienceinc.com/ GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+Z29xtUXjwPIRLVERAph1AKCm9hDscA7l/fgnoVf2vg5TvzGVngCfRdGJ tWrFpueX8wJ4AVpZ7Jw+MC0= =mimX -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.