diff options
-rw-r--r-- | target/linux/x86/base-files/lib/preinit/01_sysinfo | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/x86/base-files/lib/preinit/01_sysinfo b/target/linux/x86/base-files/lib/preinit/01_sysinfo index 3c21c07615..466c831e7e 100644 --- a/target/linux/x86/base-files/lib/preinit/01_sysinfo +++ b/target/linux/x86/base-files/lib/preinit/01_sysinfo @@ -17,7 +17,14 @@ do_sysinfo_x86() { for file in product_name board_name; do product="$(cat /sys/devices/virtual/dmi/id/$file 2>/dev/null)" - [ -n "$product" ] && break + case "$vendor:$product" in + "Supermicro:Super Server") + continue + ;; + ?*:?*) + break + ;; + esac done [ -n "$vendor" -a -n "$product" ] || return |