diff options
Diffstat (limited to 'modules/base/luasrc/sys.lua')
-rw-r--r-- | modules/base/luasrc/sys.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/luasrc/sys.lua b/modules/base/luasrc/sys.lua index df6280dda..3a04f6bad 100644 --- a/modules/base/luasrc/sys.lua +++ b/modules/base/luasrc/sys.lua @@ -186,6 +186,7 @@ function sysinfo() cpuinfo:match("model name\t+: ([^\n]+)") local model = + fs.readfile("/proc/device-tree/model") or luci.util.pcdata(fs.readfile("/tmp/sysinfo/model")) or cpuinfo:match("machine\t+: ([^\n]+)") or cpuinfo:match("Hardware\t+: ([^\n]+)") or |