1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add signal from qmi device

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-21 11:35:33 +01:00
parent 19af5eac57
commit d2c9d4643b
2 changed files with 26 additions and 0 deletions

View file

@ -1019,6 +1019,12 @@ function interfaces_status()
gw_ping = "DOWN"
connectivity = "ERROR"
end
local proto = section['proto']
if proto == "qmi" then
local device = section['device']
signal = sys.exec("omr-qmi " .. device)
end
local latency = ""
local server_ping = ""