aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/x86/base-files/lib/preinit/01_sysinfo8
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network
index 8d10c637e8..581daf49b6 100644
--- a/target/linux/x86/base-files/etc/board.d/02_network
+++ b/target/linux/x86/base-files/etc/board.d/02_network
@@ -11,6 +11,9 @@ case "$(board_name)" in
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
+sophos-sg-105|sophos-xg-105)
+ ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
+ ;;
traverse-technologies-geos)
ucidef_set_interface_lan "eth0 eth1"
ucidef_add_atm_bridge "0" "35" "llc" "bridged"
diff --git a/target/linux/x86/base-files/lib/preinit/01_sysinfo b/target/linux/x86/base-files/lib/preinit/01_sysinfo
index b608d4edab..682ce4a5bb 100644
--- 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
;;