Skip to content

Instantly share code, notes, and snippets.

@refack
Created January 15, 2019 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save refack/a1bb9f4619bc924eca85c643fc2bf0c6 to your computer and use it in GitHub Desktop.
Save refack/a1bb9f4619bc924eca85c643fc2bf0c6 to your computer and use it in GitHub Desktop.
my openwrt scripts
cd /tmp
wget http://mirrors.a-m-v.pl/downloads.lede-project.org/snapshots/targets/ar71xx/generic/openwrt-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin
wget http://mirrors.a-m-v.pl/downloads.lede-project.org/snapshots/targets/ar71xx/generic/sha256sums
sha256sum -c sha256sums 2> /dev/null | grep OK
if [ $? -eq 0 ]
then
sysupgrade -v openwrt-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin
else
echo "bad"
fi
opkg update
opkg install luci-ssl
opkg install ath10k-firmware-qca988x
opkg install nano
echo rebooting... && reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment