change dist for living room

This commit is contained in:
2023-07-27 10:25:42 +02:00
parent 845eed4abe
commit 049b8bc15c

View File

@@ -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)