diff options
author | danny <danny@FreeBSD.org> | 1997-09-18 22:43:48 +0000 |
---|---|---|
committer | danny <danny@FreeBSD.org> | 1997-09-18 22:43:48 +0000 |
commit | df61c66b402c930a7a79eae6061a8094c7c7d97c (patch) | |
tree | 79da64902ccba9c64e03e4a5cdcd82bbf644cdb1 /etc/rc.network | |
parent | 02b9c60de68e2a171c4c85f214ad75e345fccba3 (diff) | |
download | FreeBSD-src-df61c66b402c930a7a79eae6061a8094c7c7d97c.zip FreeBSD-src-df61c66b402c930a7a79eae6061a8094c7c7d97c.tar.gz |
Fix some problems in the rules file loading and need for modload detection.
Found by: "James E. Housley" <housley@pr-comm.com>
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.network b/etc/rc.network index fb35d2f..8199371 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.9 1997/07/06 00:33:34 pst Exp $ +# $Id: rc.network,v 1.10 1997/09/11 10:59:02 danny Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -58,7 +58,7 @@ network_pass1() { # Initialize IP filtering using ipfw echo "" /sbin/ipfw -q flush > /dev/null 2>&1 - if [ $? ] ; then + if [ $? = 1 ] ; then firewall_in_kernel=0 else firewall_in_kernel=1 |