diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-06-29 02:54:38 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-06-29 02:54:47 +0200 |
commit | 920675e08490616b09906d3c2c86fc5863395dd8 (patch) | |
tree | 1e41a0eb2b90d38d8628a0ad38380287b6afcc6b /roles | |
parent | b9ce2abd957b781a423c8336539621d6f0eacb3b (diff) |
update-firewall.sh: COMMIT empty iptables rule files.
Diffstat (limited to 'roles')
-rwxr-xr-x | roles/common/files/usr/local/sbin/update-firewall.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/common/files/usr/local/sbin/update-firewall.sh b/roles/common/files/usr/local/sbin/update-firewall.sh index d5e2238..7ca9bab 100755 --- a/roles/common/files/usr/local/sbin/update-firewall.sh +++ b/roles/common/files/usr/local/sbin/update-firewall.sh @@ -182,6 +182,7 @@ run() { # If the interface is not configured, we stop here and DROP all # packets by default. Thanks to the pre-up hook this tight # policy will be activated whenever the interface goes up. + commit mv "$new" /etc/iptables/rules.v$f return 0 fi |