mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
change dist for living room
This commit is contained in:
@@ -95,7 +95,7 @@ def check_router():
|
||||
cmnd = "nvram get vpn_client1_state"
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
writeLog("Openvpn1 Status : " + str(output))
|
||||
stats["vpnclient1"] = "On" if output == 2 else "Off"
|
||||
stats["vpnclient1"] = "On" if output == "2" else "Off"
|
||||
cmnd = "nvram get vpn_client2_state"
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
writeLog("Openvpn2 Status : " + str(output))
|
||||
|
||||
Reference in New Issue
Block a user