Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 2b6d57de11205d1e4ec8b18312057c35 > files > 196

initng-ifiles-0.1.5-4.fc12.i686.rpm

#!/sbin/itype
# This is a i file, used by initng parsed by install_service

# NAME: iptables
# DESCRIPTION: Linux firewall, NAT and packet mangling tools
# WWW: http://www.iptables.org/

service service/iptables {
	need = system/initial system/mountfs/essential system/hostname;
	provide = virtual/firewall;
	env STATEFILE = /etc/sysconfig/iptables;
	script start = {
		[ -f "${STATEFILE}" ] || exit 0
		/sbin/iptables-restore -c < "${STATEFILE}"
	};
}