x86/base-files: add support for Sophos SG/XG-105

This adds detection of the Sophos SG-105 and Sophos XG-105 models
and assignment of ethernet ports these models have to LAN/WAN.

Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
Stan Grishin
2021-03-24 16:18:08 +00:00
committed by Paul Spooren
parent 0bd0de7d43
commit 64eaf633ff
2 changed files with 11 additions and 0 deletions

View File

@@ -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
;;