Update gl-inet.sh
This commit is contained in:
parent
332f0449c0
commit
1802125735
@ -44,6 +44,7 @@ install_istore_os_style() {
|
|||||||
if ! grep -q " like iStoreOS" /tmp/sysinfo/model; then
|
if ! grep -q " like iStoreOS" /tmp/sysinfo/model; then
|
||||||
sed -i '1s/$/ like iStoreOS/' /tmp/sysinfo/model
|
sed -i '1s/$/ like iStoreOS/' /tmp/sysinfo/model
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
# 安装iStore 参考 https://github.com/linkease/istore
|
# 安装iStore 参考 https://github.com/linkease/istore
|
||||||
do_istore() {
|
do_istore() {
|
||||||
@ -343,6 +344,9 @@ update_luci_app_quickstart() {
|
|||||||
# 如果 /bin/is-opkg 存在,则执行 is-opkg update
|
# 如果 /bin/is-opkg 存在,则执行 is-opkg update
|
||||||
is-opkg update
|
is-opkg update
|
||||||
is-opkg install luci-i18n-quickstart-zh-cn --force-depends >/dev/null 2>&1
|
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风格啦!"
|
yellow "恭喜您!现在你的路由器已经变成iStoreOS风格啦!"
|
||||||
green "如果没有首页和网络向导,可以执行第8项 更新luci_app_quickstart"
|
green "如果没有首页和网络向导,可以执行第8项 更新luci_app_quickstart"
|
||||||
addr_hostname=$(uci get system.@system[0].hostname)
|
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"
|
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/luci-lua-runtime_all.ipk"
|
||||||
opkg install "/tmp/libopenssl3.ipk"
|
opkg install "/tmp/libopenssl3.ipk"
|
||||||
opkg install iptables-mod-tproxy
|
|
||||||
opkg install iptables-mod-socket
|
|
||||||
opkg install iptables-mod-iprange
|
|
||||||
}
|
}
|
||||||
#单独安装argon主题
|
#单独安装argon主题
|
||||||
do_install_argon_skin() {
|
do_install_argon_skin() {
|
||||||
|
Loading…
Reference in New Issue
Block a user