[vigir] use scp -O

This commit is contained in:
Nico Schottelius 2023-02-20 11:11:04 +01:00
parent ca42fdc2dc
commit 2108400c40

View file

@ -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