'version' command displays version of shorewall-shell and shorewall-perl -- beautification

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6398 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-17 22:32:11 +00:00
parent 022a1d3dbb
commit 849cea93d2

View File

@ -1551,9 +1551,11 @@ 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