lantiq: xway: rename nas0/ptm0 to dsl0
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / board.d / 02_network
index 8c2a118..18d0ba4 100755 (executable)
@@ -18,7 +18,7 @@ encaps="llc"
 payload="bridged"
 lan_mac=""
 wan_mac=""
-interface_wan=""
+interface_wan="dsl0"
 
 board=$(board_name)
 
@@ -230,10 +230,8 @@ ls /lib/modules/$(uname -r)/ltq_atm* 1> /dev/null 2>&1 && \
        ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
 
 if lantiq_is_vdsl_system; then
-       interface_wan="dsl0"
        ucidef_add_vdsl_modem "$annex" "$tone" "$xfer_mode"
 else
-       interface_wan="nas0"
        ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"
 fi