V6.6.6 精简日志

This commit is contained in:
Hyy2001X 2021-10-10 21:18:57 +08:00
parent 2447884536
commit 9fd8f5e663
1 changed files with 3 additions and 9 deletions

View File

@ -3,7 +3,7 @@
# AutoUpdate for Openwrt # AutoUpdate for Openwrt
# Dependences: bash wget-ssl/wget/uclient-fetch curl openssl jsonfilter # Dependences: bash wget-ssl/wget/uclient-fetch curl openssl jsonfilter
Version=V6.6.5 Version=V6.6.6
function TITLE() { function TITLE() {
clear && echo "Openwrt-AutoUpdate Script by Hyy2001 ${Version}" clear && echo "Openwrt-AutoUpdate Script by Hyy2001 ${Version}"
@ -111,12 +111,7 @@ function CHECK_ENV() {
} }
function EXIT() { function EXIT() {
case $1 in exit $1
0 | 1)
LOGGER "[${COMMAND}] 运行结束 $1"
;;
esac
exit
} }
function ECHO() { function ECHO() {
@ -931,7 +926,6 @@ function NETWORK_CHECK() {
} }
function AutoUpdate_Main() { function AutoUpdate_Main() {
LOGGER "[${COMMAND}] 开始运行"
if [[ ! $1 =~ (-H|--help) ]];then if [[ ! $1 =~ (-H|--help) ]];then
[[ ! -f ${Default_Variable} ]] && { [[ ! -f ${Default_Variable} ]] && {
ECHO r "脚本运行环境检测失败,无法正常运行脚本!" ECHO r "脚本运行环境检测失败,无法正常运行脚本!"
@ -1053,7 +1047,7 @@ function AutoUpdate_Main() {
case "$1" in case "$1" in
[Cc]loud) [Cc]loud)
shift shift
ANALYSIS_API ANALYSIS_API > /dev/null 2>&1
GET_CLOUD_INFO $* version GET_CLOUD_INFO $* version
;; ;;
*) *)