~优化6-x菜单返回
This commit is contained in:
@@ -1054,6 +1054,7 @@ set_core_config(){ #配置文件功能
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
gen_core_config_link
|
gen_core_config_link
|
||||||
|
set_core_config
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
if [ -f "$CRASHDIR"/v2b_api.sh ];then
|
if [ -f "$CRASHDIR"/v2b_api.sh ];then
|
||||||
@@ -1062,6 +1063,7 @@ set_core_config(){ #配置文件功能
|
|||||||
else
|
else
|
||||||
set_core_config_link
|
set_core_config_link
|
||||||
fi
|
fi
|
||||||
|
set_core_config
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
if [ "$crashcore" = meta -o "$crashcore" = clashpre ];then
|
if [ "$crashcore" = meta -o "$crashcore" = clashpre ];then
|
||||||
@@ -1094,6 +1096,7 @@ set_core_config(){ #配置文件功能
|
|||||||
checkcfg_new=$(cat $CFG_PATH)
|
checkcfg_new=$(cat $CFG_PATH)
|
||||||
[ "$checkcfg" != "$checkcfg_new" ] && checkrestart
|
[ "$checkcfg" != "$checkcfg_new" ] && checkrestart
|
||||||
fi
|
fi
|
||||||
|
set_core_config
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
if [ -z "$Url" -a -z "$Https" ];then
|
if [ -z "$Url" -a -z "$Https" ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user