del some method
This commit is contained in:
parent
fc854091c1
commit
7c21f28015
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
.DS_Store
|
BIN
shells/.DS_Store
vendored
BIN
shells/.DS_Store
vendored
Binary file not shown.
@ -261,7 +261,6 @@ show_menu() {
|
|||||||
echo "* Developed by @wukongdaily "
|
echo "* Developed by @wukongdaily "
|
||||||
echo "**********************************************************************"
|
echo "**********************************************************************"
|
||||||
echo
|
echo
|
||||||
echo "$(check_github_connected)"
|
|
||||||
echo "$(get_status)"
|
echo "$(get_status)"
|
||||||
echo "$(get_tvbox_model_name)"
|
echo "$(get_tvbox_model_name)"
|
||||||
echo "$(get_tvbox_timezone)"
|
echo "$(get_tvbox_timezone)"
|
||||||
|
@ -384,7 +384,6 @@ show_menu() {
|
|||||||
echo "**********************************************************************"
|
echo "**********************************************************************"
|
||||||
echo
|
echo
|
||||||
echo "* 当前的路由器型号: $(get_router_name)"
|
echo "* 当前的路由器型号: $(get_router_name)"
|
||||||
echo "$(check_github_connected)"
|
|
||||||
echo "$(get_status)"
|
echo "$(get_status)"
|
||||||
echo "$(get_tvbox_model_name)"
|
echo "$(get_tvbox_model_name)"
|
||||||
echo "$(get_tvbox_timezone)"
|
echo "$(get_tvbox_timezone)"
|
||||||
|
@ -352,7 +352,6 @@ show_menu() {
|
|||||||
echo "* Developed by @wukongdaily "
|
echo "* Developed by @wukongdaily "
|
||||||
echo "**********************************************************************"
|
echo "**********************************************************************"
|
||||||
echo
|
echo
|
||||||
echo "$(check_github_connected)"
|
|
||||||
echo "$(get_status)"
|
echo "$(get_status)"
|
||||||
echo "$(get_tvbox_model_name)"
|
echo "$(get_tvbox_model_name)"
|
||||||
echo "$(get_tvbox_timezone)"
|
echo "$(get_tvbox_timezone)"
|
||||||
|
13
shells/tv.sh
13
shells/tv.sh
@ -494,19 +494,6 @@ get_tvbox_timezone() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# 能否访问Github
|
|
||||||
check_github_connected() {
|
|
||||||
# Ping GitHub域名并提取时间
|
|
||||||
ping_time=$(ping -c 1 raw.githubusercontent.com | grep 'time=' | awk -F'time=' '{print $2}' | awk '{print $1}')
|
|
||||||
|
|
||||||
if [ -n "$ping_time" ]; then
|
|
||||||
echo -e "* 当前路由器访问Github延时:${BLUE}${ping_time}ms${NC}"
|
|
||||||
else
|
|
||||||
echo -e "* 当前路由器访问Github延时:${RED}超时${NC}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# 安装mix apps 用于显示全部app
|
# 安装mix apps 用于显示全部app
|
||||||
install_mixapps() {
|
install_mixapps() {
|
||||||
local xapk_download_url="https://github.com/wukongdaily/tvhelper/raw/master/apks/mix.xapk"
|
local xapk_download_url="https://github.com/wukongdaily/tvhelper/raw/master/apks/mix.xapk"
|
||||||
|
Loading…
Reference in New Issue
Block a user