diff options
-rw-r--r-- | updater.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater.lua b/updater.lua index 05880a2..f861428 100644 --- a/updater.lua +++ b/updater.lua @@ -1,7 +1,7 @@ local uci_cursor = uci.cursor(root_dir .. "/etc/config") local board -local model = model or os_release["LEDE_DEVICE_PRODUCT"] +local model = model or os_release["OPENWRT_DEVICE_PRODUCT"] or os_release["LEDE_DEVICE_PRODUCT"] if model:match('[Mm]ox') then board = "mox" elseif model:match('[Oo]mnia') then |