待机配置

This commit is contained in:
2024-11-05 18:39:03 +08:00
parent ccfe0d311b
commit 8e2bf7f59b
15 changed files with 384 additions and 132 deletions

View File

@@ -12,6 +12,8 @@ func Command(d *common.Device) leaf.HandlerFunc {
switch cmd {
case "stop":
common.GlobalStopper.Stop()
case "stop-bg":
common.GlobalBgStopper.Stop()
case "status":
d.PublishStatus()
default: