lantiq: fix logic error in dsl board.d code
[openwrt.git] / target / linux / lantiq / base-files / etc / board.d / 02_network
index 039f57b..08a143f 100755 (executable)
@@ -130,7 +130,7 @@ VGV7510KW22)
 
 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