x86:Fix Model shows "Default String" issue in Luci overview page.

Signed-off-by: pr0zel <pr0zel@gmail.com>
This commit is contained in:
pr0zel 2024-12-15 14:14:49 +08:00
parent 5a24850de1
commit 95c7f55ef2

View File

@ -15,7 +15,8 @@ do_sysinfo_x86() {
case "$vendor" in
empty | \
System\ manufacturer | \
To\ [bB]e\ [fF]illed\ [bB]y\ O\.E\.M\.)
To\ [bB]e\ [fF]illed\ [bB]y\ O\.E\.M\. | \
Default\ [sS]tring)
continue
;;
esac
@ -27,7 +28,8 @@ do_sysinfo_x86() {
case "$vendor:$product" in
?*:empty | \
?*:System\ Product\ Name | \
?*:To\ [bB]e\ [fF]illed\ [bB]y\ O\.E\.M\.)
?*:To\ [bB]e\ [fF]illed\ [bB]y\ O\.E\.M\. | \
?*:Default\ [sS]tring)
continue
;;
"PC Engines:APU")