Date: Thu, 11 Sep 2003 17:56:55 GMT From: Mark <admin@asarian-host.net> To: <freebsd-questions@freebsd.org> Subject: Re: Running /etc/rc.firewall in the background Message-ID: <200309111756.H8BHUTLQ054060@asarian-host.net> References: <127.0.0.1.20030911083637.013f8520@sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Jack L. Stone" <jackstone@sage-one.net>
To: "Mark" <admin@asarian-host.net>; <freebsd-questions@freebsd.org>
Sent: Thursday, September 11, 2003 3:37 PM
Subject: Re: Running /etc/rc.firewall in the background
> 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 &
Yes, that is what I tried to accomplish. I found where /etc/rc.firewall is
loaded, and changed it accordingly in /etc/rc.network:
if [ -r "${firewall_script}" ]; then
. "${firewall_script}" &
Solved. :)
- Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309111756.H8BHUTLQ054060>
