Lines 30-44
Link Here
|
30 |
# Setup system for ipfw(4) firewall service. |
30 |
# Setup system for ipfw(4) firewall service. |
31 |
# |
31 |
# |
32 |
|
32 |
|
33 |
# Suck in the configuration variables. |
33 |
. /etc/rc.subr |
34 |
if [ -z "${source_rc_confs_defined}" ]; then |
34 |
. /etc/network.subr |
35 |
if [ -r /etc/defaults/rc.conf ]; then |
35 |
load_rc_config ipfw |
36 |
. /etc/defaults/rc.conf |
|
|
37 |
source_rc_confs |
38 |
elif [ -r /etc/rc.conf ]; then |
39 |
. /etc/rc.conf |
40 |
fi |
41 |
fi |
42 |
|
36 |
|
43 |
############ |
37 |
############ |
44 |
# Define the firewall type in /etc/rc.conf. Valid values are: |
38 |
# Define the firewall type in /etc/rc.conf. Valid values are: |
Lines 116-123
Link Here
|
116 |
firewall_type="${1}" |
110 |
firewall_type="${1}" |
117 |
fi |
111 |
fi |
118 |
|
112 |
|
119 |
. /etc/rc.subr |
|
|
120 |
. /etc/network.subr |
121 |
afexists inet6 |
113 |
afexists inet6 |
122 |
ipv6_available=$? |
114 |
ipv6_available=$? |
123 |
|
115 |
|