fix:降低cpu使用率

This commit is contained in:
2026-04-21 16:09:40 +08:00
parent 04561d2697
commit 7a315074ed
22 changed files with 11985 additions and 5 deletions

View File

@@ -148,6 +148,22 @@ if [ "$1" = "run" ]; then
exit 0
fi
if [ "$1" = "enable_autostart" ]; then
enable_autostart
exit 0
fi
if [ "$1" = "disable_autostart" ]; then
disable_autostart
exit 0
fi
if [ "$1" = "status" ]; then
show_status
exit 0
fi
# 交互式主程序
while true; do
show_menu