From 7f6dacf7bd81ff9bb6d22560bc7ccf414facf1ef Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Mon, 20 May 2013 17:31:34 +0200 Subject: [PATCH] bring back my post hook. this time with the right syntax. Signed-off-by: Martin Zobel-Helas --- modules/ferm/files/ferm.conf | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.20.1