pscand-cli: error when there are no scanners configured

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id4e5a2ffc70efb10ba37c0b203a0ac166a6a6964
This commit is contained in:
raf 2026-02-19 01:03:28 +03:00
commit 5850f342a1
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 39 additions and 12 deletions

View file

@ -42,12 +42,8 @@ interval_secs = 30 # Battery status changes slowly
enabled = true
interval_secs = 5
# Example: Disable a scanner
[scanners.system]
enabled = false
# Example: Custom scanner with extra parameters
[scanners.custom]
enabled = true
interval_secs = 60
extra = { custom_param = "value", threshold = 100 }
# [scanners.custom]
# enabled = true
# interval_secs = 60
# extra = { custom_param = "value", threshold = 100 }