From: Felix Fietkau Date: Mon, 18 Jan 2016 15:35:17 +0000 (+0000) Subject: lantiq: fix VDSL device detection with Linux 4.4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6cec31da3c56685995e307354390a1fdb8fef36c;p=openwrt%2Fstaging%2Fstintel.git lantiq: fix VDSL device detection with Linux 4.4 Signed-off-by: Felix Fietkau SVN-Revision: 48319 --- diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index 15b1f8c10f..89faeaaa34 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -135,7 +135,7 @@ if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload" fi -if [ -n "$(grep "system type.*: VR9" /proc/cpuinfo)" ]; then +if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then interface_wan="ptm0" ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm" else