puppet/modules/rhizo_base/files/bin/turn_on_amplifier.sh
Keith Whyte 0e360b2194 Build BTS defs in vars.sh from array
and, Number the BTS from 0 in environment
2020-04-29 00:30:41 +02:00

10 lines
292 B
Bash
Executable file

#!/bin/bash
# Turn on AMP on all BTS, from BTS1 to BTS3
RHIZO_SCRIPT="/home/rhizomatica/bin"
. $RHIZO_SCRIPT/vars.sh
LOGFILE="/var/log/monitor_amp.log"
for bts in $BTS0 $BTS1 $BTS2; do
logc "Turning on AMP on BTS $bts:";
ssh root@$bts "sbts2050-util sbts2050-pwr-enable 1 1 1";
done