rc.firewall (56736) | rc.firewall (57014) |
---|---|
1############ 2# Setup system for firewall service. | 1############ 2# Setup system for firewall service. |
3# $FreeBSD: head/etc/rc.firewall 56736 2000-01-28 11:30:28Z rgrimes $ | 3# $FreeBSD: head/etc/rc.firewall 57014 2000-02-06 19:25:00Z paul $ |
4 5# Suck in the configuration variables. 6if [ -r /etc/defaults/rc.conf ]; then 7 . /etc/defaults/rc.conf 8elif [ -r /etc/rc.conf ]; then 9 . /etc/rc.conf 10fi 11 --- 212 unchanged lines hidden (view full) --- 224 # IPFIREWALL_DEFAULT_TO_ACCEPT option is set in your kernel 225 # config file. 226 ;; 227 228[Uu][Nn][Kk][Nn][Oo][Ww][Nn]) 229 ;; 230*) 231 if [ -r "${firewall_type}" ]; then | 4 5# Suck in the configuration variables. 6if [ -r /etc/defaults/rc.conf ]; then 7 . /etc/defaults/rc.conf 8elif [ -r /etc/rc.conf ]; then 9 . /etc/rc.conf 10fi 11 --- 212 unchanged lines hidden (view full) --- 224 # IPFIREWALL_DEFAULT_TO_ACCEPT option is set in your kernel 225 # config file. 226 ;; 227 228[Uu][Nn][Kk][Nn][Oo][Ww][Nn]) 229 ;; 230*) 231 if [ -r "${firewall_type}" ]; then |
232 ${fwcmd} ${firewall_type} | 232 ${fwcmd} ${firewall_flags} ${firewall_type} |
233 fi 234 ;; 235esac | 233 fi 234 ;; 235esac |