ipfilter (193198) | ipfilter (222007) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/ipfilter 193198 2009-06-01 05:35:03Z dougb $ | 3# $FreeBSD: head/etc/rc.d/ipfilter 222007 2011-05-17 07:40:13Z hrs $ |
4# 5 6# PROVIDE: ipfilter 7# REQUIRE: FILESYSTEMS 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 6 unchanged lines hidden (view full) --- 18start_cmd="ipfilter_start" 19stop_cmd="ipfilter_stop" 20reload_precmd="$stop_precmd" 21reload_cmd="ipfilter_reload" 22resync_precmd="$stop_precmd" 23resync_cmd="ipfilter_resync" 24status_precmd="$stop_precmd" 25status_cmd="ipfilter_status" | 4# 5 6# PROVIDE: ipfilter 7# REQUIRE: FILESYSTEMS 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 6 unchanged lines hidden (view full) --- 18start_cmd="ipfilter_start" 19stop_cmd="ipfilter_stop" 20reload_precmd="$stop_precmd" 21reload_cmd="ipfilter_reload" 22resync_precmd="$stop_precmd" 23resync_cmd="ipfilter_resync" 24status_precmd="$stop_precmd" 25status_cmd="ipfilter_status" |
26extra_commands="reload resync status" | 26extra_commands="reload resync" |
27required_modules="ipl:ipfilter" 28 29ipfilter_start() 30{ 31 echo "Enabling ipfilter." 32 if [ `sysctl -n net.inet.ipf.fr_running` -le 0 ]; then 33 ${ipfilter_program:-/sbin/ipf} -E 34 fi --- 58 unchanged lines hidden --- | 27required_modules="ipl:ipfilter" 28 29ipfilter_start() 30{ 31 echo "Enabling ipfilter." 32 if [ `sysctl -n net.inet.ipf.fr_running` -le 0 ]; then 33 ${ipfilter_program:-/sbin/ipf} -E 34 fi --- 58 unchanged lines hidden --- |