1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2020-02-21 11:28:09 +01:00
parent 1274791cc1
commit 19af5eac57
2 changed files with 7 additions and 7 deletions

View file

@ -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