[vigir] use scp -O
This commit is contained in:
parent
ca42fdc2dc
commit
2108400c40
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ else
|
||||||
scp_ip="$vigir_ip"
|
scp_ip="$vigir_ip"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp ${filename} root@${scp_ip}:/tmp
|
scp -O ${filename} root@${scp_ip}:/tmp
|
||||||
ssh root@${vigir_ip} "sysupgrade -n /tmp/*.bin"
|
ssh root@${vigir_ip} "sysupgrade -n /tmp/*.bin"
|
||||||
|
|
||||||
# It still pings for some time - wait for the reboot to happen
|
# It still pings for some time - wait for the reboot to happen
|
||||||
|
|
Loading…
Reference in a new issue