[viwib] use scp -O (legacy) for openwrt
This commit is contained in:
parent
0c27d8ae21
commit
18ea33de66
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ else
|
||||||
scp_ip="$viwib_ip"
|
scp_ip="$viwib_ip"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp ${filename} root@${scp_ip}:/tmp
|
scp -O ${filename} root@${scp_ip}:/tmp
|
||||||
ssh root@${viwib_ip} "sysupgrade -n /tmp/*.bin"
|
ssh root@${viwib_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…
Add table
Reference in a new issue