From 2943a7d58cd176493a3368bcf2251e9a9053282c Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Sun, 13 Sep 2015 20:31:04 +0200 Subject: [PATCH] Improve output messages --- minifirewall | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/minifirewall b/minifirewall index e096a3b..94e666b 100755 --- a/minifirewall +++ b/minifirewall @@ -308,12 +308,12 @@ $IPT -A OUTPUT -p udp -j DROP trap - INT TERM EXIT - echo "...loading IPTables rules is now finish." + echo "...starting IPTables rules is now finish : OK" ;; stop) - echo "We flush all rules and we accept everything..." + echo "Flush all rules and accept everything..." # Delete all rules $IPT -F INPUT @@ -344,7 +344,7 @@ trap - INT TERM EXIT $IPT -X ONLYTRUSTED $IPT -X NEEDRESTRICT - echo "OK" + echo "...flushing IPTables rules is now finish : OK" ;; status) @@ -365,6 +365,8 @@ trap - INT TERM EXIT $IPT -t mangle -Z $IPT6 -Z $IPT6 -t mangle -Z + + echo "...reseting IPTables counters is now finish : OK" ;; restart)