mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
'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:
parent
022a1d3dbb
commit
849cea93d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user