chef-lctp/site-cookbooks/lctp-network/files/default/iptables-save

8 lines
207 B
Plaintext
Raw Normal View History

2014-01-27 10:13:56 +00:00
#!/bin/sh
# iptables-save managed by Chef. Changes will be overwritten.
iptables-save -c > /etc/iptables.rules
if [ -f /etc/iptables.downrules ]; then
iptables-restore < /etc/iptables.downrules
fi
exit 0