Deleted Added
full compact
routing (40006) routing (41077)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $
3# $Id: rc.network,v 1.33 1998/10/06 19:24:14 phk Exp $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all the user-configurable behavior is no longer in
7# this file, but rather in /etc/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 54 unchanged lines hidden (view full) ---

66 /sbin/ipfw -q flush > /dev/null 2>&1
67 if [ $? = 0 ] ; then
68 firewall_in_kernel=1
69 else
70 firewall_in_kernel=0
71 fi
72
73 if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all the user-configurable behavior is no longer in
7# this file, but rather in /etc/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 54 unchanged lines hidden (view full) ---

66 /sbin/ipfw -q flush > /dev/null 2>&1
67 if [ $? = 0 ] ; then
68 firewall_in_kernel=1
69 else
70 firewall_in_kernel=0
71 fi
72
73 if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then
74 if modload /lkm/ipfw_mod.o; then
74 if kldload ipfw; then
75 firewall_in_kernel=1 # module loaded successfully
76 echo "Kernel firewall module loaded."
77 else
78 echo "Warning: firewall kernel module failed to load."
79 fi
80 fi
81
82 # Load the filters if required

--- 223 unchanged lines hidden ---
75 firewall_in_kernel=1 # module loaded successfully
76 echo "Kernel firewall module loaded."
77 else
78 echo "Warning: firewall kernel module failed to load."
79 fi
80 fi
81
82 # Load the filters if required

--- 223 unchanged lines hidden ---