bring back my post hook. this time with the right syntax.
authorMartin Zobel-Helas <zobel@debian.org>
Mon, 20 May 2013 15:31:34 +0000 (17:31 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Mon, 20 May 2013 15:32:11 +0000 (17:32 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/ferm/files/ferm.conf

index 5b38e34..4159c0a 100644 (file)
@@ -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: