From 21f95dad132451aef1cdf3223dd0c7978e63a3f5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 4 Jul 2023 13:20:21 +0200 Subject: [PATCH] [openwrt/viwib] update firmware --- ...-firmware-upgrade.sh => viwib-1-black-firmware-upgrade.sh} | 4 ++-- ...firmware-upgrade.sh => viwib-1-yellow-firmware-upgrade.sh} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename openwrt/{viwib-1-firmware-upgrade.sh => viwib-1-black-firmware-upgrade.sh} (95%) rename openwrt/{legacy-viwib1-1-firmware-upgrade.sh => viwib-1-yellow-firmware-upgrade.sh} (95%) diff --git a/openwrt/viwib-1-firmware-upgrade.sh b/openwrt/viwib-1-black-firmware-upgrade.sh similarity index 95% rename from openwrt/viwib-1-firmware-upgrade.sh rename to openwrt/viwib-1-black-firmware-upgrade.sh index 45e550e..4f3afac 100755 --- a/openwrt/viwib-1-firmware-upgrade.sh +++ b/openwrt/viwib-1-black-firmware-upgrade.sh @@ -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" diff --git a/openwrt/legacy-viwib1-1-firmware-upgrade.sh b/openwrt/viwib-1-yellow-firmware-upgrade.sh similarity index 95% rename from openwrt/legacy-viwib1-1-firmware-upgrade.sh rename to openwrt/viwib-1-yellow-firmware-upgrade.sh index dbc73a7..761625e 100755 --- a/openwrt/legacy-viwib1-1-firmware-upgrade.sh +++ b/openwrt/viwib-1-yellow-firmware-upgrade.sh @@ -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"