Skip to content

Instantly share code, notes, and snippets.

@13xforever
Last active August 29, 2015 14:04
Show Gist options
  • Save 13xforever/32e4893e88f3bc126c18 to your computer and use it in GitHub Desktop.
Save 13xforever/32e4893e88f3bc126c18 to your computer and use it in GitHub Desktop.
#!/bin/sh
opkg update
opkg remove dnsmasq
opkg install dnsmasq-full 6in4 tc miniupnpd luci-ssl luci-proto-ipv6 luci-app-upnp uhttpd-mod-tls
rm /etc/config/*-opkg
cp /etc/config/uhttpd.crt /etc/config/
cp /etc/config/uhttpd.key /etc/config/
cp /etc/config/dnscachestats.sh ~/
/etc/init.d/dnsmasq start
/etc/init.d/uhttpd start
/etc/init.d/miniupnpd start
/etc/init.d/dnsmasq enable
/etc/init.d/uhttpd enable
/etc/init.d/miniupnpd enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment