~重写管理配置文件功能并拆分6_core_config.sh

~增加通用框架文件 common.sh
~修复在线生成配置文件时日志功能失效的bug
This commit is contained in:
juewuy
2026-01-24 00:00:05 +08:00
parent a082c68a7b
commit ca72c5e1fc
12 changed files with 1292 additions and 1200 deletions

View File

@@ -1,7 +1,12 @@
COMMON_INPUT="Please enter a number"
COMMON_INPUT_L="Enter a letter or a number"
COMMON_BACK="Back"
COMMON_SUCCESS="Successfully set!"
COMMON_SUCCESS="Setup Success!"
COMMON_FAILED="Setup failed!"
COMMON_UNSET="Not set"
COMMON_MOD="Mod"
COMMON_ERR_NUM="Please enter a valid number!"
COMMON_ERR_LETTER="Please enter a valid letter or number!"
COMMON_ERR_INPUT="Invalid input, please try again!"
COMMON_ERR_INPUT="Operation cancelled!"

View File

@@ -1,5 +1,4 @@
# ===== Common Prompts =====
MENU_ERR_INPUT="Please enter a valid letter or number!"
MENU_RESTART_NOTICE="Changes have been detected. Please restart the service!"
MENU_RESTART_ASK="Restart the service now? (1/0) > "