SysmoBTS, check for 2050 in check.sh

This commit is contained in:
Keith Whyte 2020-09-09 14:31:48 +02:00
parent 93958cc875
commit be742ba98c

View file

@ -8,6 +8,10 @@ SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
for bts in "${!BTS[@]}" ; do
_model=$(ssh $SSH_OPTS ${BTS[$bts]} sysmobts-util model-nr)
echo "BTS $bts is model $_model"
if [ "$_model" != "2050" ]; then continue; fi
if [ "$(ssh $SSH_OPTS ${BTS[$bts]} sysmobts-util trx-nr)" == "0" ] ; then
# Master Verified.
echo "BTS $bts is a 2050 Master"