Detect IXP4xx processors correctly
This commit is contained in:
parent
d22a13210a
commit
20fc751eca
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