Avoid "Text file busy" copying file
This commit is contained in:
parent
d00f59bbb8
commit
5303462864
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ for bts in "${!BTS[@]}" ; do
|
|||
scp $SSH_OPTS mgr root@${BTS[$bts]}:/bin/
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "chmod 750 /bin/mgr"
|
||||
gunzip -c sysmobts-mgr-arm.gz > sysmobts-mgr
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "systemctl stop sysmobts-mgr"
|
||||
scp $SSH_OPTS sysmobts-mgr root@${BTS[$bts]}:/usr/bin/
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "chmod 755 /usr/bin/sysmobts-mgr ; systemctl restart sysmobts-mgr"
|
||||
# things to do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue