diff --git a/gl-inet.sh b/gl-inet.sh index 5263ac5..5dc6d49 100755 --- a/gl-inet.sh +++ b/gl-inet.sh @@ -44,6 +44,7 @@ install_istore_os_style() { if ! grep -q " like iStoreOS" /tmp/sysinfo/model; then sed -i '1s/$/ like iStoreOS/' /tmp/sysinfo/model fi + } # 安装iStore 参考 https://github.com/linkease/istore do_istore() { @@ -343,6 +344,9 @@ update_luci_app_quickstart() { # 如果 /bin/is-opkg 存在,则执行 is-opkg update is-opkg update is-opkg install luci-i18n-quickstart-zh-cn --force-depends >/dev/null 2>&1 + opkg install iptables-mod-tproxy + opkg install iptables-mod-socket + opkg install iptables-mod-iprange yellow "恭喜您!现在你的路由器已经变成iStoreOS风格啦!" green "如果没有首页和网络向导,可以执行第8项 更新luci_app_quickstart" addr_hostname=$(uci get system.@system[0].hostname) @@ -365,9 +369,6 @@ do_install_depends_ipk() { wget -O "/tmp/libopenssl3.ipk" "https://cafe.cpolar.cn/wkdaily/gl-inet-onescript/raw/branch/master/theme/libopenssl3.ipk" opkg install "/tmp/luci-lua-runtime_all.ipk" opkg install "/tmp/libopenssl3.ipk" - opkg install iptables-mod-tproxy - opkg install iptables-mod-socket - opkg install iptables-mod-iprange } #单独安装argon主题 do_install_argon_skin() {