test2
This commit is contained in:
parent
cacec54851
commit
8dc7611578
19
be3600.sh
19
be3600.sh
@ -9,12 +9,11 @@ light_yellow() { echo -e "\033[93m\033[01m$1\033[0m"; }
|
|||||||
cyan() { echo -e "\033[38;2;0;255;255m$1\033[0m"; }
|
cyan() { echo -e "\033[38;2;0;255;255m$1\033[0m"; }
|
||||||
third_party_source="https://istore.linkease.com/repo/all/nas_luci"
|
third_party_source="https://istore.linkease.com/repo/all/nas_luci"
|
||||||
|
|
||||||
# 设置全局命令 g
|
# 设置全局命令 be
|
||||||
cp -f "$0" /usr/bin/g
|
cp -f "$0" /usr/bin/be
|
||||||
chmod +x /usr/bin/g
|
chmod +x /usr/bin/be
|
||||||
|
|
||||||
setup_base_init() {
|
setup_base_init() {
|
||||||
|
|
||||||
#添加出处信息
|
#添加出处信息
|
||||||
add_author_info
|
add_author_info
|
||||||
#添加安卓时间服务器
|
#添加安卓时间服务器
|
||||||
@ -24,11 +23,9 @@ setup_base_init() {
|
|||||||
uci set system.@system[0].timezone='CST-8'
|
uci set system.@system[0].timezone='CST-8'
|
||||||
uci commit system
|
uci commit system
|
||||||
/etc/init.d/system reload
|
/etc/init.d/system reload
|
||||||
|
|
||||||
## 设置防火墙wan 打开,方便主路由访问
|
## 设置防火墙wan 打开,方便主路由访问
|
||||||
uci set firewall.@zone[1].input='ACCEPT'
|
uci set firewall.@zone[1].input='ACCEPT'
|
||||||
uci commit firewall
|
uci commit firewall
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
## 安装应用商店和主题
|
## 安装应用商店和主题
|
||||||
@ -372,16 +369,13 @@ mt3000_overlay_changed() {
|
|||||||
while true; do
|
while true; do
|
||||||
clear
|
clear
|
||||||
gl_name=$(get_router_name)
|
gl_name=$(get_router_name)
|
||||||
result=$gl_name"一键iStoreOS风格化"
|
result="GL-iNet Be3600 一键iStoreOS风格化"
|
||||||
result=$(echo "$result" | sed 's/ like iStoreOS//')
|
|
||||||
echo "***********************************************************************"
|
echo "***********************************************************************"
|
||||||
echo "* 一键安装工具箱(for gl-inet Router) v1.2 by @wukongdaily "
|
echo "* 一键安装工具箱(for gl-inet Router) v1.2 by @wukongdaily "
|
||||||
echo "**********************************************************************"
|
echo "**********************************************************************"
|
||||||
echo "* 当前的路由器型号: "$gl_name | sed 's/ like iStoreOS//'
|
|
||||||
echo
|
|
||||||
echo "*******支持的机型列表***************************************************"
|
echo "*******支持的机型列表***************************************************"
|
||||||
green "*******GL-iNet BE-3600"
|
green "*******GL-iNet BE-3600********"
|
||||||
echo "******************下次调用 直接输入快捷键 g *****************************"
|
echo "******************下次调用 直接输入快捷键 be *****************************"
|
||||||
echo
|
echo
|
||||||
light_magenta " 1. $result"
|
light_magenta " 1. $result"
|
||||||
echo
|
echo
|
||||||
@ -400,7 +394,6 @@ while true; do
|
|||||||
install_istore_os_style
|
install_istore_os_style
|
||||||
#基础必备设置
|
#基础必备设置
|
||||||
setup_base_init
|
setup_base_init
|
||||||
do_install_argon_skin
|
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
update_myself
|
update_myself
|
||||||
|
Loading…
x
Reference in New Issue
Block a user