From 41bd56bf3f124de0a0c8007c5cadb44e210b5390 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 11 Nov 1998 05:23:44 +0000 Subject: kldload ipfw, it's installed always and works on both kernel formats --- etc/rc.d/netoptions | 4 ++-- etc/rc.d/network1 | 4 ++-- etc/rc.d/network2 | 4 ++-- etc/rc.d/network3 | 4 ++-- etc/rc.d/routing | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index cf9ff66..30efc0d 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ +# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -71,7 +71,7 @@ network_pass1() { fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - if modload /lkm/ipfw_mod.o; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index cf9ff66..30efc0d 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ +# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -71,7 +71,7 @@ network_pass1() { fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - if modload /lkm/ipfw_mod.o; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index cf9ff66..30efc0d 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ +# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -71,7 +71,7 @@ network_pass1() { fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - if modload /lkm/ipfw_mod.o; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index cf9ff66..30efc0d 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ +# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -71,7 +71,7 @@ network_pass1() { fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - if modload /lkm/ipfw_mod.o; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else diff --git a/etc/rc.d/routing b/etc/rc.d/routing index cf9ff66..30efc0d 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ +# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -71,7 +71,7 @@ network_pass1() { fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - if modload /lkm/ipfw_mod.o; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else -- cgit v1.1