diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-10 10:56:58 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-10 10:56:58 +0000 |
commit | 3e297f8d95fb21d8304e1703b175605d946d7496 (patch) | |
tree | e022da8d401e20583324ecac23d86e6dc2eaa60e /etc/rc.d/netoptions | |
parent | 09c1cbfe92d9e6e3c091c0984ef0269be9ed0cad (diff) | |
download | src-test2-3e297f8d95fb21d8304e1703b175605d946d7496.tar.gz src-test2-3e297f8d95fb21d8304e1703b175605d946d7496.zip |
Notes
Diffstat (limited to 'etc/rc.d/netoptions')
-rw-r--r-- | etc/rc.d/netoptions | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index e913c88a148a..81cd4d2f3164 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.41 1999/03/24 10:28:49 brian Exp $ +# $Id: rc.network,v 1.42 1999/03/28 20:36:03 imp Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -100,8 +100,11 @@ network_pass1() { # Load the filters if required if [ $firewall_in_kernel = 1 ]; then - if [ -f /etc/rc.firewall -a X"$firewall_enable" = X"YES" ]; then - . /etc/rc.firewall + if [ -z "${firewall_script}" ] ; then + firewall_script="/etc/rc.firewall" + fi + if [ -f ${firewall_script} -a X"$firewall_enable" = X"YES" ]; then + . ${firewall_script} echo -n 'Firewall rules loaded, starting divert daemons: ' # Network Address Translation daemon |