[vigir] use scp -O

master
Nico Schottelius 4 months ago
parent ca42fdc2dc
commit 2108400c40

@ -33,7 +33,7 @@ else
scp_ip="$vigir_ip"
fi
scp ${filename} root@${scp_ip}:/tmp
scp -O ${filename} root@${scp_ip}:/tmp
ssh root@${vigir_ip} "sysupgrade -n /tmp/*.bin"
# It still pings for some time - wait for the reboot to happen

Loading…
Cancel
Save