shorewall_code/Shorewall-common/diff-3.4-shorewall
2007-06-17 14:16:25 +00:00

23 lines
794 B
Plaintext

--- /home/teastep/shorewall/branches/3.4/Shorewall/shorewall 2007-06-17 07:10:53.000000000 -0700
+++ shorewall 2007-06-17 07:15:13.000000000 -0700
@@ -1297,7 +1297,7 @@
echo " stop"
echo " status"
echo " try [ -C {shell|perl} ] <directory> [ <timeout> ]"
- echo " version"
+ echo " version [ -a ]"
echo " safe-start [ -C {shell|perl} ] [ <directory> ]"
echo " safe-restart [ -C {shell|perl} ] [ <directory> ]"
echo
@@ -1441,6 +1441,10 @@
echo $version
if [ -n "$all" ]; then
+ if [ -f /usr/share/shorewall-shell/version ]; then
+ echo "Shorewall-shell $(cat /usr/share/shorewall-shell/version)"
+ fi
+
if [ -f /usr/share/shorewall-perl/version ]; then
echo "Shorewall-perl $(cat /usr/share/shorewall-perl/version)"
fi