All of lore.kernel.org
 help / color / mirror / Atom feed
From: "James A. Pattie" <james@pcxperience.com>
To: Brian Bunnell <bbunnell@iastate.edu>
Cc: netfilter@lists.netfilter.org
Subject: Re: Start Up Script
Date: Thu, 06 Mar 2003 09:55:30 -0600	[thread overview]
Message-ID: <3E676F72.1060702@pcxperience.com> (raw)
In-Reply-To: <NHBBICNKELBGKGHPCFMPOEMFCAAA.bbunnell@iastate.edu>

-----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.



  reply	other threads:[~2003-03-06 15:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-02 18:43 Start Up Script Brian Bunnell
2003-03-06 15:55 ` James A. Pattie [this message]
2003-03-06 17:36   ` Arnt Karlsen
  -- strict thread matches above, loose matches on Subject: below --
2004-03-06 10:43 start up script Ravi Kumar Munnangi
2004-03-06 12:00 ` John Kelly
2004-03-06 17:12 ` Ray Olszewski
2004-03-09 14:09 ` Stephen Samuel
2003-03-06 15:28 Start Up Script Carol Anne Ogdin
2003-02-11 23:05 start up script - Luis -
2003-02-12  6:35 ` Leonid Mamtchenkov
2003-02-12  7:23 ` Glynn Clements
2003-02-12  8:35 ` freddie
2003-02-12 11:24 ` terry white
2003-02-12 14:38   ` - Luis -
2003-02-12 15:33     ` Scott Taylor
2003-02-12 17:45       ` - Luis -
2003-02-12 18:09         ` Jeff Largent
2003-02-12 18:29           ` - Luis -
2003-02-12 16:07     ` terry white
2003-02-12 22:14     ` Glynn Clements
2003-02-12 22:21     ` Andrew B. Cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E676F72.1060702@pcxperience.com \
    --to=james@pcxperience.com \
    --cc=bbunnell@iastate.edu \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.