mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复 config 引入顺序
This commit is contained in:
@@ -91,10 +91,6 @@ import_config() {
|
||||
else
|
||||
default_cron="$(random_range 0 59) $(random_range 0 23) * * *"
|
||||
fi
|
||||
|
||||
cpu_warn=${CpuWarn}
|
||||
mem_warn=${MemoryWarn}
|
||||
disk_warn=${DiskWarn}
|
||||
}
|
||||
|
||||
set_proxy() {
|
||||
@@ -488,5 +484,3 @@ init_env
|
||||
detect_termux
|
||||
detect_macos
|
||||
define_cmd
|
||||
|
||||
import_config $1
|
||||
|
||||
Reference in New Issue
Block a user