[openwrt/viwib] update firmware
This commit is contained in:
parent
40c37ae681
commit
21f95dad13
2 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ set -x
|
||||||
viwib_ip=$1; shift
|
viwib_ip=$1; shift
|
||||||
|
|
||||||
# openwrt
|
# openwrt
|
||||||
version=22.03.3
|
version=22.03.5
|
||||||
filename=openwrt-${version}-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin
|
filename=openwrt-${version}-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin
|
||||||
url=https://downloads.openwrt.org/releases/${version}/targets/ath79/nand
|
url=https://downloads.openwrt.org/releases/${version}/targets/ath79/nand
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp -O ${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/${filename}"
|
||||||
|
|
||||||
# It still pings for some time - wait for the reboot to happen
|
# It still pings for some time - wait for the reboot to happen
|
||||||
echo "Waiting for viwib to really disappear"
|
echo "Waiting for viwib to really disappear"
|
|
@ -13,7 +13,7 @@ set -x
|
||||||
viwib_ip=$1; shift
|
viwib_ip=$1; shift
|
||||||
|
|
||||||
# openwrt
|
# openwrt
|
||||||
version=22.03.3
|
version=22.03.5
|
||||||
filename=openwrt-${version}-ramips-mt76x8-glinet_gl-mt300n-v2-squashfs-sysupgrade.bin
|
filename=openwrt-${version}-ramips-mt76x8-glinet_gl-mt300n-v2-squashfs-sysupgrade.bin
|
||||||
|
|
||||||
# don't care about other/old known_host entries
|
# don't care about other/old known_host entries
|
||||||
|
@ -36,7 +36,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp -O ${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/${filename}"
|
||||||
|
|
||||||
# It still pings for some time - wait for the reboot to happen
|
# It still pings for some time - wait for the reboot to happen
|
||||||
echo "Waiting for viwib to really disappear"
|
echo "Waiting for viwib to really disappear"
|
Loading…
Reference in a new issue