Build BTS defs in vars.sh from array
and, Number the BTS from 0 in environment
This commit is contained in:
parent
e2e8c76b70
commit
0e360b2194
6 changed files with 10 additions and 19 deletions
|
@ -3,7 +3,7 @@
|
|||
RHIZO_SCRIPT="/home/rhizomatica/bin"
|
||||
. $RHIZO_SCRIPT/vars.sh
|
||||
n=0
|
||||
for bts in $BTS1 $BTS2 $BTS3; do
|
||||
for bts in $BTS0 $BTS1 $BTS2; do
|
||||
echo "BTS $bts:";
|
||||
let "n++"
|
||||
#ssh root@$bts "/etc/init.d/gpsd stop ; sleep 1 ;/etc/init.d/gpsd start; sleep 1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue