mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
build
This commit is contained in:
@@ -734,7 +734,7 @@ def on_message(client, userdata, msg):
|
|||||||
tright = config['morefine']['tright']
|
tright = config['morefine']['tright']
|
||||||
left = config['morefine']['left']
|
left = config['morefine']['left']
|
||||||
mid = config['morefine']['mid']
|
mid = config['morefine']['mid']
|
||||||
myCmd = "bash /home/jd/test.sh"
|
myCmd = "bash /myapps/mqtt_srv/get_monitors.sh"
|
||||||
status, output = subprocess.getstatusoutput(myCmd)
|
status, output = subprocess.getstatusoutput(myCmd)
|
||||||
f = open( "/tmp/monitors.txt" )
|
f = open( "/tmp/monitors.txt" )
|
||||||
contents = f.read().splitlines()
|
contents = f.read().splitlines()
|
||||||
|
|||||||
Reference in New Issue
Block a user