[viirb] add script to get the firmware

This commit is contained in:
Nico Schottelius 2020-10-08 11:43:05 +02:00
parent 35098485bb
commit 0bb0c4aea7
1 changed files with 14 additions and 0 deletions

14
viirb-get-openwrt-firmware.sh Executable file
View File

@ -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}