Update index.py

This commit is contained in:
dami
2026-07-21 20:37:12 +08:00
parent 650365997a
commit b68c9edc3e
+1 -1
View File
@@ -142,7 +142,7 @@ def mqttOp(method):
return data[1]
if current_os.startswith("freebsd"):
data = mw.execShell('systemctl ' + getPluginName() + ' ' + method)
data = mw.execShell('service ' + getPluginName() + ' ' + method)
if data[1] == '':
return 'ok'
return data[1]