From patchwork Sat Dec 5 00:05:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Kresin X-Patchwork-Id: 552923 X-Patchwork-Delegate: jow@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 082B11402A0 for ; Sat, 5 Dec 2015 11:06:16 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kresin-me.20150623.gappssmtp.com header.i=@kresin-me.20150623.gappssmtp.com header.b=tEk/wzN/; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9B9402800F4; Sat, 5 Dec 2015 01:05:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id F11A628003E for ; Sat, 5 Dec 2015 01:05:47 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .kresin. - helo: .mail-wm0-f42.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -5.5 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 5 Dec 2015 01:05:46 +0100 (CET) Received: by wmec201 with SMTP id c201so95972915wme.0 for ; Fri, 04 Dec 2015 16:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=KprzgDYpFCfsd2eUaAMWBLleCStC2TN3LX+PEENMp3o=; b=tEk/wzN/wcjZcw0A1CgNX5Bhp+LHYV9+nNsOk6opuUXWr0Eiv13MPds9s113LRH7ej 1m3RL6c3Xov7+/1i24oWYVqewq8tPynH8DZUVjHBzFqJQA+yebwzeQOZS/k/PkHgs/4B 4aRAS7Fk6/YQAwLQgOPTZHqzp5+KkuENcSrfEF373kN5BQeQjJ1CHTAr9A9X7sJI4y8C mtm7BdifmFLkHliTMxqIQVNG9toUPM8DYXLxZH0JJBWTeXwBLuCdRWX4xxEy4MlyDUMI og/bI6BuT8JvryF8yWn0PGrokwSxbaW/leuWsUp7bfyEhZrA56Ee1OQwI15TuLYUa9As aOtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=KprzgDYpFCfsd2eUaAMWBLleCStC2TN3LX+PEENMp3o=; b=HxJ/qk9dMMgpKw4YbjQoEwbzxrfqTAiyqSZS4FQqM3PnTboBp4ClD0YQXmzhDjoXqJ I+Isy8Iyf6tqMVMqXeyAT1xLdF0MFq9WkwPhbwrTvQzjYTtZweHJNsvAlhH93VSLKkKH BlxrdLECzMHSwIa/wLtyltfhK9+tWXGbNCSX55v5EbYJn/1BLz/u+XVcwAUc+Xs2ygk5 HiFOpmk2LfRkNw1+NRqE9UC0ZcpyOiVkVKn9DwaFhc9TRu5BKbcB4Y9dhpcp1JpQv8eZ +6LiU+mcSOpVcd+SOR0mBE/XFF7BlomkeAUinWgFl3FUzZRlIblPUE9GqpQuJ9QgeJlm PRTA== X-Gm-Message-State: ALoCoQmJLe5xWH0zxhPuKaY3v2lnPf5GgMxSazYraPGlq0OQ/ShDUnsKJKuYR75iRSemzz7iyw8G X-Received: by 10.194.24.38 with SMTP id r6mr22758213wjf.32.1449273952867; Fri, 04 Dec 2015 16:05:52 -0800 (PST) Received: from desktop.wvd.kresin.me (p5DDC7D93.dip0.t-ipconnect.de. [93.220.125.147]) by smtp.gmail.com with ESMTPSA id u134sm5553175wmd.0.2015.12.04.16.05.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Dec 2015 16:05:52 -0800 (PST) From: Mathias Kresin To: openwrt-devel@lists.openwrt.org Date: Sat, 5 Dec 2015 01:05:47 +0100 Message-Id: <1449273947-5489-1-git-send-email-openwrt@kresin.me> X-Mailer: git-send-email 1.9.1 Subject: [OpenWrt-Devel] [PATCH] lantiq: fix logic error in dsl board.d code X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 --- target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 039f57b..08a143f 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