mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 11:30:37 +00:00
x86: add/improve support for Sophos SG/XG products
* Better product ID for Sophos SG/XG-105 models * Add support for Sophos SG/XG-135 r1, r2 with/without wireless Signed-off-by: Stan Grishin <stangri@melmac.ca> [Changed subject to x86 - probably eaten somewhere, the PR had it] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
1c4b3ce344
commit
ffab23d99d
@ -17,9 +17,16 @@ pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
|
|||||||
roqos-roqos-core-rc10)
|
roqos-roqos-core-rc10)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
;;
|
;;
|
||||||
sophos-sg-105|sophos-xg-105)
|
sophos-sg-105r1|sophos-xg-105r1| \
|
||||||
|
sophos-sg-105r2|sophos-xg-105r2)
|
||||||
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
|
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
|
||||||
;;
|
;;
|
||||||
|
sophos-sg-135r1|sophos-xg-135r1| \
|
||||||
|
sophos-sg-135Wr1|sophos-xg-135Wr1| \
|
||||||
|
sophos-sg-135r2|sophos-xg-135r2| \
|
||||||
|
sophos-sg-135Wr2|sophos-xg-135Wr2)
|
||||||
|
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3 eth4 eth5 eth6 eth7" "eth1"
|
||||||
|
;;
|
||||||
traverse-technologies-geos)
|
traverse-technologies-geos)
|
||||||
ucidef_set_interface_lan "eth0 eth1"
|
ucidef_set_interface_lan "eth0 eth1"
|
||||||
ucidef_add_atm_bridge "0" "35" "llc" "bridged"
|
ucidef_add_atm_bridge "0" "35" "llc" "bridged"
|
||||||
|
@ -23,9 +23,11 @@ do_sysinfo_x86() {
|
|||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"Sophos:SG"|"Sophos:XG")
|
"Sophos:SG"|"Sophos:XG")
|
||||||
case "$(cat /sys/devices/virtual/dmi/id/product_version 2>/dev/null)" in
|
local product_version
|
||||||
105*)
|
product_version="$(cat /sys/devices/virtual/dmi/id/product_version 2>/dev/null)"
|
||||||
product="${product}-105"
|
case "$product_version" in
|
||||||
|
105*|135*)
|
||||||
|
product="${product}-${product_version}"
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user