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 case "$vendor" in
empty | \ empty | \
System\ manufacturer | \ 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 continue
;; ;;
esac esac
@ -27,7 +28,8 @@ do_sysinfo_x86() {
case "$vendor:$product" in case "$vendor:$product" in
?*:empty | \ ?*:empty | \
?*:System\ Product\ Name | \ ?*: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 continue
;; ;;
"PC Engines:APU") "PC Engines:APU")