From: Martin Zobel-Helas Date: Mon, 20 May 2013 15:31:34 +0000 (+0200) Subject: bring back my post hook. this time with the right syntax. X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7f6dacf7bd81ff9bb6d22560bc7ccf414facf1ef;p=mirror%2Fdsa-puppet.git bring back my post hook. this time with the right syntax. Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/ferm/files/ferm.conf b/modules/ferm/files/ferm.conf index 5b38e34c3..4159c0a7b 100644 --- a/modules/ferm/files/ferm.conf +++ b/modules/ferm/files/ferm.conf @@ -63,4 +63,6 @@ domain (ip ip6) { jump log_or_drop; } } + +@hook post "umask 0177; iptables-save | sed -e 's/\[.*//' -e 's/^#.*//' | sha256sum > /var/run/iptables-ferm.checksum"; # vim:set et: