Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ipfilter
| Show All 9 Lines | |||||
| . /etc/rc.subr | . /etc/rc.subr | ||||
| name="ipfilter" | name="ipfilter" | ||||
| desc="IP packet filter" | desc="IP packet filter" | ||||
| rcvar="ipfilter_enable" | rcvar="ipfilter_enable" | ||||
| load_rc_config $name | load_rc_config $name | ||||
| stop_precmd="test -f ${ipfilter_rules}" | stop_precmd="test -f ${ipfilter_rules}" | ||||
| # doesn't make sense to run in a svcj: config setting | |||||
| ipfilter_svcj="NO" | |||||
| start_precmd="$stop_precmd" | start_precmd="$stop_precmd" | ||||
| start_cmd="ipfilter_start" | start_cmd="ipfilter_start" | ||||
| stop_cmd="ipfilter_stop" | stop_cmd="ipfilter_stop" | ||||
| reload_precmd="$stop_precmd" | reload_precmd="$stop_precmd" | ||||
| reload_cmd="ipfilter_reload" | reload_cmd="ipfilter_reload" | ||||
| resync_precmd="$stop_precmd" | resync_precmd="$stop_precmd" | ||||
| resync_cmd="ipfilter_resync" | resync_cmd="ipfilter_resync" | ||||
| status_precmd="$stop_precmd" | status_precmd="$stop_precmd" | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||