From 022a1d3dbba86853a8ec840f6af2325729cbd95f Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 17 May 2007 22:28:29 +0000 Subject: [PATCH] 'version' command displays version of shorewall-shell and shorewall-perl git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6397 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/shorewall | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Shorewall-common/shorewall b/Shorewall-common/shorewall index b39998d6f..74b6788e3 100755 --- a/Shorewall-common/shorewall +++ b/Shorewall-common/shorewall @@ -1551,6 +1551,12 @@ case "$COMMAND" in ;; version) echo $version + 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 ;; try) get_config