From 0bb0c4aea7e51d4b6e39db305ef293f717fe4be0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Oct 2020 11:43:05 +0200 Subject: [PATCH] [viirb] add script to get the firmware --- viirb-get-openwrt-firmware.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 viirb-get-openwrt-firmware.sh diff --git a/viirb-get-openwrt-firmware.sh b/viirb-get-openwrt-firmware.sh new file mode 100755 index 0000000..1682f7b --- /dev/null +++ b/viirb-get-openwrt-firmware.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# 2020-10-08, Nico Schottelius +# See https://ungleich.ch/u/products/viirb-ipv6-box/ + +if [ $# -ne 1 ]; then + echo "$0 openwrt-version" + echo " openwrt-version: for instance 19.07.4" + exit 1 +fi + +version=$1 +filename=openwrt-${version}-ramips-mt76x8-vocore2-squashfs-sysupgrade.bin + +wget -c http://downloads.openwrt.org/releases/${version}/targets/ramips/mt76x8/${filename}