Add command to check apt policy to 'stack'
This commit is contained in:
parent
c485480399
commit
70caaee27e
1 changed files with 5 additions and 0 deletions
|
@ -4,4 +4,9 @@ if [ "$1" == "" ] ; then
|
||||||
else
|
else
|
||||||
_cmd=$1
|
_cmd=$1
|
||||||
fi
|
fi
|
||||||
|
if [ "$_cmd" == "policy" ] ; then
|
||||||
|
apt policy osmo-stp osmo-bsc osmo-msc osmo-hlr osmo-mgw osmo-sgsn osmo-sip-connector 2>/dev/null| grep '^osmo-\|Installed\|Candidate'
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl $_cmd osmo-stp osmo-bsc osmo-msc osmo-hlr osmo-mgw osmo-sgsn osmo-sip-connector
|
systemctl $_cmd osmo-stp osmo-bsc osmo-msc osmo-hlr osmo-mgw osmo-sgsn osmo-sip-connector
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue