puppet/modules/rhizomatica_base_system/files/bin/turn_on_amplifier.sh
2015-02-25 12:26:22 -06: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 $BTS1 $BTS2 $BTS3; do
logc "Turning on AMP on BTS $bts:";
ssh root@$bts "sbts2050-util sbts2050-pwr-enable 1 1 1";
done