[openwrt/viwib] update firmware

This commit is contained in:
Nico Schottelius 2023-07-04 13:20:21 +02:00
parent 40c37ae681
commit 21f95dad13
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ set -x
viwib_ip=$1; shift
# openwrt
version=22.03.3
version=22.03.5
filename=openwrt-${version}-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin
url=https://downloads.openwrt.org/releases/${version}/targets/ath79/nand
@ -38,7 +38,7 @@ else
fi
scp -O ${filename} root@${scp_ip}:/tmp
ssh root@${viwib_ip} "sysupgrade -n /tmp/*.bin"
ssh root@${viwib_ip} "sysupgrade -n /tmp/${filename}"
# It still pings for some time - wait for the reboot to happen
echo "Waiting for viwib to really disappear"

View file

@ -13,7 +13,7 @@ set -x
viwib_ip=$1; shift
# openwrt
version=22.03.3
version=22.03.5
filename=openwrt-${version}-ramips-mt76x8-glinet_gl-mt300n-v2-squashfs-sysupgrade.bin
# don't care about other/old known_host entries
@ -36,7 +36,7 @@ else
fi
scp -O ${filename} root@${scp_ip}:/tmp
ssh root@${viwib_ip} "sysupgrade -n /tmp/*.bin"
ssh root@${viwib_ip} "sysupgrade -n /tmp/${filename}"
# It still pings for some time - wait for the reboot to happen
echo "Waiting for viwib to really disappear"