Viitor_iptables/etc/init/iptables.conf
kueller 7345882d8a Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_iptables@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

21 lines
454 B
Plaintext

description "Setup and Start iptables firewall"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on ( runlevel [2345] and (stopped routing))
console output
pre-start script
if [ [ ! -f /var/state/iptables.state ] && [ -f /etc/sysconfig/net/firewall ] ]; then
/etc/init.d/firewall configure
fi
end script
script
if [ -f /var/state/iptables.state ]; then
/etc/init.d/firewall start
fi
end script