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:
parent
19af5eac57
commit
d2c9d4643b
2 changed files with 26 additions and 0 deletions
|
@ -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 = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue