SysmoBTS, check for 2050 in check.sh
This commit is contained in:
parent
93958cc875
commit
be742ba98c
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
||||||
|
|
||||||
for bts in "${!BTS[@]}" ; do
|
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
|
if [ "$(ssh $SSH_OPTS ${BTS[$bts]} sysmobts-util trx-nr)" == "0" ] ; then
|
||||||
# Master Verified.
|
# Master Verified.
|
||||||
echo "BTS $bts is a 2050 Master"
|
echo "BTS $bts is a 2050 Master"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue