Copy nitb compatible binary to sysmobts
This commit is contained in:
parent
b48ea971e5
commit
b8308b6bdd
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ for bts in "${!BTS[@]}" ; do
|
|||
ssh $SSH_OPTS root@${BTS[$bts]} "systemctl enable osmo-pcu; systemctl start osmo-pcu"
|
||||
|
||||
fi
|
||||
|
||||
if [ "$(ssh $SSH_OPTS ${BTS[$bts]} 'ls /usr/bin/osmo-bts-sysmo-nitb 2> /dev/null; echo $?')" == "2" ; then
|
||||
gunzip -c osmo-bts-sysmo-arm-cf7a.gz > osmo-bts-sysmo-nitb
|
||||
scp $SSH_OPTS osmo-bts-sysmo-nitb root@${BTS[$bts]}:/usr/bin/
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue