8 lines
207 B
Plaintext
8 lines
207 B
Plaintext
|
#!/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
|