mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix check huawei
This commit is contained in:
parent
1274791cc1
commit
19af5eac57
2 changed files with 7 additions and 7 deletions
|
@ -1012,7 +1012,7 @@ function interfaces_status()
|
|||
end
|
||||
end
|
||||
end
|
||||
if uci:get("openmptcprouter", interface, "manufacturer") ~= "huawei" then
|
||||
if uci:get("openmptcprouter", interface, "manufacturer") == "huawei" then
|
||||
signal = sys.exec("omr-huawei " .. gateway)
|
||||
end
|
||||
elseif gateway == "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue