Use bash array in get_position script
This commit is contained in:
parent
7643099f6f
commit
305998cf65
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
RHIZO_SCRIPT="/home/rhizomatica/bin"
|
RHIZO_SCRIPT="/home/rhizomatica/bin"
|
||||||
. $RHIZO_SCRIPT/vars.sh
|
. $RHIZO_SCRIPT/vars.sh
|
||||||
n=0
|
n=0
|
||||||
for bts in $BTS0 $BTS1 $BTS2; do
|
for bts in "${BTS_MASTER[@]}" ; do
|
||||||
echo "BTS $bts:";
|
echo "BTS $bts:";
|
||||||
let "n++"
|
let "n++"
|
||||||
#ssh root@$bts "/etc/init.d/gpsd stop ; sleep 1 ;/etc/init.d/gpsd start; sleep 1"
|
#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