Improve output messages

This commit is contained in:
Gregory Colpart 2015-09-13 20:31:04 +02:00
parent 52f177303c
commit 2943a7d58c
1 changed files with 5 additions and 3 deletions

View File

@ -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)