Create templates for BTS config

This commit is contained in:
Keith Whyte 2020-05-22 04:19:13 +02:00
parent ea47d2d229
commit 8b2e6e6eb3
4 changed files with 54 additions and 2 deletions

View file

@ -1,7 +0,0 @@
pcu
egprs only
flow-control-interval 10
cs 4
alloc-algorithm dynamic
alpha 0
gamma 0

View file

@ -18,6 +18,7 @@ for bts in "${!BTS[@]}" ; do
ssh $SSH_OPTS root@${BTS[$bts]} "date -s '$(date)'"
ssh $SSH_OPTS root@${BTS[$bts]} "echo nameserver 1.1.1.1 > /etc/resolv.conf; echo nameserver 9.9.9.9 >> /etc/resolv.conf"
scp $SSH_OPTS osmo-pcu.cfg root@${BTS[$bts]}:/etc/osmocom/osmo-pcu.cfg
scp $SSH_OPTS osmo-bts_$bts.cfg root@${BTS[$bts]}:/etc/osmocom/osmo-bts-sysmo.cfg
scp $SSH_OPTS pcu bts root@${BTS[$bts]}:/bin/
ssh $SSH_OPTS root@${BTS[$bts]} "chmod 750 /bin/pcu /bin/bts"
ssh $SSH_OPTS root@${BTS[$bts]} "expect -v 2>/dev/null"