[vigir] use scp -O

This commit is contained in:
Nico Schottelius 2023-02-20 11:11:04 +01:00
parent ca42fdc2dc
commit 2108400c40
1 changed files with 1 additions and 1 deletions

View File

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