projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/base-files: add support for Sophos SG/XG-105
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
preinit
/
01_sysinfo
diff --git
a/target/linux/x86/base-files/lib/preinit/01_sysinfo
b/target/linux/x86/base-files/lib/preinit/01_sysinfo
index b608d4edab885e538191b891fd40bc2c70a2ff32..682ce4a5bbedecd93b31061022fa58b477870578 100644
(file)
--- a/
target/linux/x86/base-files/lib/preinit/01_sysinfo
+++ b/
target/linux/x86/base-files/lib/preinit/01_sysinfo
@@
-22,6
+22,14
@@
do_sysinfo_x86() {
product="apu1"
break
;;
+ "Sophos:SG"|"Sophos:XG")
+ case "$(cat /sys/devices/virtual/dmi/id/product_version 2>/dev/null)" in
+ 105*)
+ product="${product}-105"
+ break
+ ;;
+ esac
+ ;;
"Supermicro:Super Server")
continue
;;