[viwib] use scp -O (legacy) for openwrt

This commit is contained in:
Nico Schottelius 2023-02-04 13:29:06 +01:00
parent 0c27d8ae21
commit 18ea33de66
1 changed files with 1 additions and 1 deletions

View File

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