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
|
if not system then
|
||||||
system = posix.uname("%m")
|
system = posix.uname("%m")
|
||||||
model = cpuinfo:match("model name.-:%s*([^\n]+)")
|
model = cpuinfo:match("model name.-:%s*([^\n]+)")
|
||||||
|
if not model then
|
||||||
|
model = cpuinfo:match("Processor.-:%s*([^\n]+)")
|
||||||
|
end
|
||||||
else
|
else
|
||||||
model = cpuinfo:match("cpu model.-:%s*([^\n]+)")
|
model = cpuinfo:match("cpu model.-:%s*([^\n]+)")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue