mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -872,7 +872,7 @@ def on_message(client, userdata, msg):
|
||||
else:
|
||||
if host == "nas" or host == "octopi":
|
||||
subprocess.Popen(["/sbin/poweroff"])
|
||||
elif host == "openmediavault" or host == "omv" or host == "amd":
|
||||
elif host in ["openmediavault", "omv","amd","rack"]:
|
||||
subprocess.Popen(["poweroff"])
|
||||
elif host == "amd" or host == "ryzen":
|
||||
subprocess.Popen(["systemctl suspend"])
|
||||
|
||||
Reference in New Issue
Block a user