provision: Detect all 1020s
This commit is contained in:
parent
09c0668c79
commit
d3636dd4fd
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ for bts in "${!BTS[@]}" ; do
|
|||
continue
|
||||
fi
|
||||
|
||||
if [ "$_modelNR" == "65535" ] && [ "$_trxNR" == "255" ] ; then
|
||||
echo "Looks like a SysmoBTS"
|
||||
if [ "$_modelNR" == "65535" ] || [ "$_modelNR" == "1020" ] && [ "$_trxNR" == "255" ] ; then
|
||||
echo "Looks like a SysmoBTS ($_modelNR)"
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "echo '$SITE-$bts' > /etc/hostname"
|
||||
scp $SSH_OPTS master/gpsd root@${BTS[$bts]}:/etc/default/gpsd
|
||||
scp $SSH_OPTS master/ntp.conf root@${BTS[$bts]}:/etc/ntp.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue