forked from extern/shorewall_code
'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
This commit is contained in:
parent
2c6571789c
commit
022a1d3dbb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user