mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2026-05-04 18:29:51 +02:00
change dist for living room
This commit is contained in:
+5
-5
@@ -83,13 +83,13 @@ def check_router():
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
|
||||
if "#Skynet_banmalware#" in output:
|
||||
stats["skynet"] = "on"
|
||||
stats["skynet"] = "On"
|
||||
else:
|
||||
stats["skynet"] = "off"
|
||||
stats["skynet"] = "Off"
|
||||
if "#Diversion_CountAds#" in output:
|
||||
stats["diversion"] = "on"
|
||||
stats["diversion"] = "On"
|
||||
else:
|
||||
stats["diversion"] = "off"
|
||||
stats["diversion"] = "Off"
|
||||
|
||||
|
||||
cmnd = "nvram get vpn_client1_state"
|
||||
@@ -98,7 +98,7 @@ def check_router():
|
||||
stats["vpnclient1"] = "On" if output == "2" else "Off"
|
||||
cmnd = "nvram get vpn_client2_state"
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
writeLog("VpnServer1 Status : " + str(output))
|
||||
writeLog("VpnClient2 Status : " + str(output))
|
||||
stats["vpnclient2"] = "On" if output == "2" else "Off"
|
||||
cmnd = "nvram get vpn_server1_state"
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
|
||||
Reference in New Issue
Block a user