summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-11-11 05:23:44 +0000
committerpeter <peter@FreeBSD.org>1998-11-11 05:23:44 +0000
commit41bd56bf3f124de0a0c8007c5cadb44e210b5390 (patch)
tree961ea0ac42d115b8e6ee36b5ba9710d6d1cd2bf5 /etc/rc.d
parented4b513d2f2bd4ee1f0bb1736942b4f1caf625e7 (diff)
downloadFreeBSD-src-41bd56bf3f124de0a0c8007c5cadb44e210b5390.zip
FreeBSD-src-41bd56bf3f124de0a0c8007c5cadb44e210b5390.tar.gz
kldload ipfw, it's installed always and works on both kernel formats
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions4
-rw-r--r--etc/rc.d/network14
-rw-r--r--etc/rc.d/network24
-rw-r--r--etc/rc.d/network34
-rw-r--r--etc/rc.d/routing4
5 files changed, 10 insertions, 10 deletions
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
OpenPOWER on IntegriCloud