From: nbd Date: Mon, 18 Jan 2016 15:35:17 +0000 (+0000) Subject: lantiq: fix VDSL device detection with Linux 4.4 X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=d78a82804ab91de5dc43393d56d282d369e54f72 lantiq: fix VDSL device detection with Linux 4.4 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48319 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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