Detect IXP4xx processors correctly
This commit is contained in:
parent
c61cfb3e16
commit
e861e7bffc
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,9 @@ function sysinfo()
|
|||
if not system then
|
||||
system = posix.uname("%m")
|
||||
model = cpuinfo:match("model name.-:%s*([^\n]+)")
|
||||
if not model then
|
||||
model = cpuinfo:match("Processor.-:%s*([^\n]+)")
|
||||
end
|
||||
else
|
||||
model = cpuinfo:match("cpu model.-:%s*([^\n]+)")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue