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