Use arrays in scripts for BTSs
This commit is contained in:
parent
0e360b2194
commit
bd8f00a3d0
5 changed files with 13 additions and 6 deletions
|
@ -2,7 +2,8 @@
|
|||
# Check for AMP status on each BTS, from BTS1 up to BTS3
|
||||
RHIZO_SCRIPT="/home/rhizomatica/bin"
|
||||
. $RHIZO_SCRIPT/vars.sh
|
||||
for bts in $BTS0 $BTS1 $BTS2; do
|
||||
|
||||
for bts in "${BTS_MASTER[@]}" ; do
|
||||
echo "BTS $bts:";
|
||||
ssh root@$bts sbts2050-util sbts2050-pwr-status | grep Amp;
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue