fw.sh question

Steve Bertrand iaccounts at ibctech.ca
Wed Sep 1 13:04:08 PDT 2004


>
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>




More information about the freebsd-questions mailing list