Copy nitb compatible binary to sysmobts

This commit is contained in:
Keith Whyte 2021-02-21 22:45:59 +01:00
parent b48ea971e5
commit b8308b6bdd

View file

@ -23,6 +23,11 @@ for bts in "${!BTS[@]}" ; do
fi 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 done
if [ "$OLDPWD" != "" ]; then if [ "$OLDPWD" != "" ]; then