Still more refactoring on monitor code
This commit is contained in:
parent
925f154b74
commit
7c65394a37
3 changed files with 5 additions and 35 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
# Turn on AMP on all BTS, from BTS1 to BTS 10
|
||||
# Turn on AMP on all BTS, from BTS1 to BTS3
|
||||
. ./vars.sh
|
||||
LOGFILE="/var/log/rhizomatica/monitor_amp.log"
|
||||
|
||||
for bts in $BTS1 $BTS2 $BTS3 $BTS4 $BTS5 $BTS6 $BTS7 $BTS7 $BTS8 $BTS9 $BTS10; do
|
||||
logc "Turning on AMP on BTS $bts:"
|
||||
for bts in $BTS1 $BTS2 $BTS3; do
|
||||
logc "Turning on AMP on BTS $bts:";
|
||||
ssh root@$bts "sbts2050-util sbts2050-pwr-enable 1 1 1";
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue