From patchwork Thu Jan 15 18:47:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pavel_L=C3=B6bl?= X-Patchwork-Id: 429557 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.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1427C140275 for ; Fri, 16 Jan 2015 05:48:25 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id EF9BE2890DB; Thu, 15 Jan 2015 19:46:02 +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,FREEMAIL_FROM, 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 22BAD2890DB for ; Thu, 15 Jan 2015 19:45:58 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 15 Jan 2015 19:45:57 +0100 (CET) Received: by mail-wi0-f176.google.com with SMTP id z2so11425189wiv.3 for ; Thu, 15 Jan 2015 10:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=APV75NqBWLFiuwqQ2+f16vRXBbpLFAOB2XG0YwUwKyQ=; b=cWo7EYqj5wuBqIOgP3t2cRQp1h2EcFciy+Mn8Q5fV8HRQ6OHJGlLSbocZjg70RK8Np +psjHSleXpndUjF28DgeQ8/9oCo85InE3HC0pyUJs1gAEVbJjHSJhIODT3MTCOBDH/FA q1Zr6NeBDd5trvVgFHpSc0uvFY6HQXjOgbrqz3TDdgrWuxf5bW+YkdsnooxfdI2vhTlu J+TUqErVvnIxNlVASBrDXDMYmTGp8pYNR1WXwexCWapgzqVwAYpTyvJKQ8qXq9UOo8Xa V+lxsfsTaL3NzpzUFUbIKbEwLYQey1JpaaV5df5ojSa+rcEA1lLP90ksEYr3inAnVCjF gg5w== X-Received: by 10.180.104.98 with SMTP id gd2mr18970612wib.53.1421347692749; Thu, 15 Jan 2015 10:48:12 -0800 (PST) Received: from localhost ([195.146.117.20]) by mx.google.com with ESMTPSA id gu5sm18062wib.24.2015.01.15.10.48.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jan 2015 10:48:12 -0800 (PST) From: =?UTF-8?q?Pavel=20L=C3=B6bl?= To: blogic@openwrt.org Date: Thu, 15 Jan 2015 19:47:00 +0100 Message-Id: <1421347620-15235-1-git-send-email-lobl.pavel@gmail.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH] ramips: fix default led configuration for rt-n14u 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: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" use new helper function to generate default led configuration Signed-off-by: Pavel Löbl --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 405a6c0..c42b31f 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -191,8 +191,8 @@ case $board in ;; rt-n14u) ucidef_set_led_default "power" "power" "asus:blue:power" "1" - ucidef_set_led_interafce "lan" "asus:blue:lan" - ucidef_set_led_netdev "wan" "asus:blue:wan" + ucidef_set_led_netdev "lan" "lan" "asus:blue:lan" eth0.1 + ucidef_set_led_netdev "wan" "wan" "asus:blue:wan" eth0.2 set_wifi_led "asus:blue:air" set_usb_led "asus:blue:usb" ;;