From 920675e08490616b09906d3c2c86fc5863395dd8 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 29 Jun 2016 02:54:38 +0200 Subject: update-firewall.sh: COMMIT empty iptables rule files. --- roles/common/files/usr/local/sbin/update-firewall.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3