Running /etc/rc.firewall in the background

Jack L. Stone jackstone at sage-one.net
Thu Sep 11 06:37:11 PDT 2003


At 01:16 PM 9.11.2003 GMT, Mark wrote:
>I have quite a few firewall rules (FreeBSD 4.7R). This causes the server
>start-up to take several minutes extra. I wanted to have the rules loaded in
>the background; like so:
>
>firewall_script="/etc/rc.firewall &"
>
>But, alas, that does not work. :( Is there a way to do this at all?
>
>Thanks!
>
>- Mark
>

Yes, but use this instead (if "firewall is your rules script file"):
# /bin/sh /etc/rc.firewall &

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone at sage-one.net


More information about the freebsd-questions mailing list