From 049b8bc15cfae4cd0fc3564ee2dc3bc802226745 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 27 Jul 2023 10:25:42 +0200 Subject: [PATCH] change dist for living room --- mqtt_srv.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index 43ea93d..76a2ea2 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -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)