lantiq: introduce lantiq_is_vdsl_system
[lede.git] / target / linux / lantiq / base-files / etc / board.d / 02_network
index 6ab5cb979e847e896675144468279e55475f86fc..41d6b7fab3a3d5e01d74620880b6805413bf55ad 100755 (executable)
@@ -168,7 +168,7 @@ if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
        ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
 fi
 
-if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
+if lantiq_is_vdsl_system; then
        interface_wan="ptm0"
        ucidef_add_vdsl_modem "$annex" "av" "ptm"
 else