mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 09:33:14 +01:00
Make 'Lite' output more distinct -- take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4074 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8bb9560eae
commit
b6ae0ded37
@ -267,9 +267,9 @@ status)
|
|||||||
|
|
||||||
shorewall status
|
shorewall status
|
||||||
|
|
||||||
Displays the Shorewall status (running/not-running).
|
Displays the Shorewall Lite status (running/not-running).
|
||||||
|
|
||||||
Also displays the Shorewall state as shown in the state diagram at
|
Also displays the Shorewall Lite state as shown in the state diagram at
|
||||||
http://www.shorewall.net/starting_and_stopping_shorewall. The time and
|
http://www.shorewall.net/starting_and_stopping_shorewall. The time and
|
||||||
date when that state was reached is also displayed."
|
date when that state was reached is also displayed."
|
||||||
;;
|
;;
|
||||||
@ -293,7 +293,7 @@ trace)
|
|||||||
|
|
||||||
version)
|
version)
|
||||||
echo "version: version
|
echo "version: version
|
||||||
Show the current shorewall version which is: $version"
|
Show the current Shorewall Lite version which is: $version"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
@ -1273,10 +1273,10 @@ case "$COMMAND" in
|
|||||||
echo "Shorewall Lite $version Status at $HOSTNAME - $(date)"
|
echo "Shorewall Lite $version Status at $HOSTNAME - $(date)"
|
||||||
echo
|
echo
|
||||||
if shorewall_is_started ; then
|
if shorewall_is_started ; then
|
||||||
echo "Shorewall is running"
|
echo "Shorewall Lite is running"
|
||||||
status=0
|
status=0
|
||||||
else
|
else
|
||||||
echo "Shorewall is stopped"
|
echo "Shorewall Lite is stopped"
|
||||||
status=4
|
status=4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user