Add command to check apt policy to 'stack'

This commit is contained in:
Monocots 2024-04-04 17:41:30 +00:00
parent c485480399
commit 70caaee27e

View file

@ -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