Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 16:05:10 -0400 (EDT)
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "xanadu" <xanadu28@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fw.sh question
Message-ID:  <4122.209.167.16.15.1094069110.squirrel@209.167.16.15>
In-Reply-To: <20040901191705.60447.qmail@web52508.mail.yahoo.com>
References:  <20040901191705.60447.qmail@web52508.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> I installed freebsd 4.5 and am trying to use a firewall rules set to
> load
> upon bootup. I put a file called fw.sh in /usr/local/etc/rc.d/ but it
> doesn't load up when I restart. I got the impression that all .sh
> files in
> this folder are supposed to load up.
>

You should instead put your script into /etc or somewhere (perhaps
/root), and load it from rc.conf instead...like this:

firewall_script="/etc/fw.sh"

This will ensure it gets loaded, and will get loaded sooner in the
boot cycle, before the services get loaded up.

my $.02

Steve

> Any ideas?
>
> I am logged in as root.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4122.209.167.16.15.1094069110.squirrel>