Last active
October 1, 2016 08:51
-
-
Save seancheung/ed517ad12c41a5b77337de4fbdf1652e to your computer and use it in GitHub Desktop.
openwrt initializing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#first of all, to resolve the https issue, run these | |
opkg update | |
opkg install wget ca-certificates | |
#remove legacy shadowsocks lib and config | |
rm /etc/config/shadowsocks | |
#install shadowsocks-libdev | |
wget https://dl.bintray.com/aa65535/opkg/shadowsocks-libev/2.5.3/ramips/shadowsocks-libev_2.5.3-1_ramips_24kec.ipk && \ | |
opkg install shadowsocks-libev_2.5.3-1_ramips_24kec.ipk | |
#install chinadns | |
wget https://github.com/aa65535/openwrt-chinadns/releases/download/v1.3.2-4/ChinaDNS_1.3.2-4_ramips_24kec.ipk && \ | |
opkg install ChinaDNS_1.3.2-4_ramips_24kec.ipk | |
#install luci-app-shadowsocks | |
wget https://github.com/shadowsocks/luci-app-shadowsocks/releases/download/v1.3.6/luci-app-shadowsocks_1.3.6-1_all.ipk && \ | |
opkg install luci-app-shadowsocks_1.3.6-1_all.ipk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment