Viitor_iptables/etc/init/iptables.conf

21 lines
454 B
Plaintext
Raw Normal View History

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