diff options
Diffstat (limited to 'main/shorewall-shell/shorewall-shell.post-install')
-rw-r--r-- | main/shorewall-shell/shorewall-shell.post-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/shorewall-shell/shorewall-shell.post-install b/main/shorewall-shell/shorewall-shell.post-install new file mode 100644 index 0000000000..34f18779ad --- /dev/null +++ b/main/shorewall-shell/shorewall-shell.post-install @@ -0,0 +1,6 @@ +#!/bin/sh + +# loglevel needs to be lowercase +if grep -q INFO /etc/shorewall/rules; then + sed '/^[^#].*[[:space:]]\+INFO/s/\([[:space:]]\)\+INFO[[:space:]]*$/\1info/' \ + /etc/shorewall/policy |