Author: jow
Date: 2015-12-06 09:41:22 +0100 (Sun, 06 Dec 2015)
New Revision: 47793

Modified:
   trunk/target/linux/lantiq/base-files/etc/board.d/02_network
Log:
lantiq: fix logic error in dsl board.d code

Starting with r47755 the pppoe wan interface section isn't any longer added to
the network config on firstboot, using the default configuration. Since the
commit message does not mention such a change, I assume that this wasn't
intentionally.

Signed-off-by: Mathias Kresin <[email protected]>

Modified: trunk/target/linux/lantiq/base-files/etc/board.d/02_network
===================================================================
--- trunk/target/linux/lantiq/base-files/etc/board.d/02_network 2015-12-05 
15:45:43 UTC (rev 47792)
+++ trunk/target/linux/lantiq/base-files/etc/board.d/02_network 2015-12-06 
08:41:22 UTC (rev 47793)
@@ -130,7 +130,7 @@
 
 esac
 
-if [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
+if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
        ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
        ucidef_set_interface_wan "nas0" "pppoe"
 fi
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to