parent
bf116cc6b4
commit
5a43e9df76
1 changed files with 2 additions and 1 deletions
|
@ -23,9 +23,10 @@ for bts in "${!BTS[@]}" ; do
|
|||
|
||||
fi
|
||||
|
||||
if [ "$(ssh $SSH_OPTS ${BTS[$bts]} 'ls /usr/bin/osmo-bts-sysmo-nitb 2> /dev/null; echo $?')" == "2" ; then
|
||||
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/
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "chmod 755 /usr/bin/osmo-bts-sysmo-nitb"
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue