aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-06 08:41:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-06 08:41:22 +0000
commit9157360ac512c4f0031151c4523479e108e3f67b (patch)
tree5fff0358d928c5ea56645781b83da1fe0607ea1e /target
parent52df3181c1277a78f8208e1bd942716514f852f5 (diff)
downloadupstream-9157360ac512c4f0031151c4523479e108e3f67b.tar.gz
upstream-9157360ac512c4f0031151c4523479e108e3f67b.tar.bz2
upstream-9157360ac512c4f0031151c4523479e108e3f67b.zip
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 <openwrt@kresin.me> SVN-Revision: 47793
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
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 039f57b92d..08a143f0b1 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -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