From patchwork Wed Mar 13 16:44:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Maciej Nowak X-Patchwork-Id: 1056132 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=o2.pl Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ArbFkixg"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=o2.pl header.i=@o2.pl header.b="iz8EyIIJ"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44KHhv6n3Yz9s00 for ; Thu, 14 Mar 2019 03:43:27 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=PA2JdkLVZh5+kGOMXiSTndby3wYa8id9s9yn0ENMDDo=; b=ArbFkixgCs5jeWH/8L+4yqsn24 jQJBjZ+vfJ+f/6z3oSAkthO9bnc+VViq0xMBsjsIdOFcv2YAs/4VqAVdL2xz/boReqcxfOY2Vr7P2 mE+nD+0Quu6OG8VAj99//PSiMjmFlIqKkPeGupHSZMmFPeqmmw9HgdGlq9E/Cmy3vNfgmkMqc+R0+ qKNY2bAzoxOsiBmtBxZjSGQzmTQCgU09YilIJF62QXHq1wbY7YGEIFl32TKVbVOMD0FS0HFSfFfeD uaroxEYp8oNGfWw+8tSTvsTIqiEXc22YmbOGPSEMpnSh0wyeUOSi3GVm0xaXz796K3qI5g7aJaA9P TLjBijRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h46yM-0000E0-PY; Wed, 13 Mar 2019 16:43:18 +0000 Received: from mx-out.tlen.pl ([193.222.135.158]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h46yA-0008K4-BX for openwrt-devel@lists.openwrt.org; Wed, 13 Mar 2019 16:43:09 +0000 Received: (wp-smtpd smtp.tlen.pl 17136 invoked from network); 13 Mar 2019 17:42:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1552495379; bh=LPxZSgV6K5zZdQV/ekM0hy7663VZkpatjFh7+uclM7A=; h=From:To:Subject; b=iz8EyIIJGbgmgTAZHe3bbAWjo1PnsxCOiD5pqBN267+Q9qLhPsH6XksnBIIeNIwq+ DqLhmHvBR+mEgnX2/WL5HW/tUydG2Elnqh6VMCX5ZGmfLuG/aTfOCi/L7QdHqV8Vzk I1N+w8pE0H7vnnLCceCTmhu1vDggtmw64qHP3qwk= Received: from 131.ip-164-132-48.eu (HELO localhost.localdomain) (tomek_n@o2.pl@[164.132.48.131]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 13 Mar 2019 17:42:59 +0100 From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Date: Wed, 13 Mar 2019 17:44:24 +0100 Message-Id: <20190313164424.12194-4-tomek_n@o2.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190313164424.12194-1-tomek_n@o2.pl> References: <20190313164424.12194-1-tomek_n@o2.pl> MIME-Version: 1.0 X-WP-MailID: 3c8b908ccf9c58ee94dcc68b6fbe0fe3 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [sRP0] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190313_094307_051535_0B4ECAB2 X-CRM114-Status: UNSURE ( 6.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tomek_n[at]o2.pl) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain Subject: [OpenWrt-Devel] [PATCH 4/4] ath79: engenius epg5000: add leds migration case X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The wireless LEDs names have changed between ar71xx and ath79 targets from epg5000:blue:wlan2-g and epg5000:blue:wlan-5g to epg5000:blue:wlan2g and epg5000:blue:wlan5g. Add this case to migration script to automatically translate those names if defined in system configuration. Signed-off-by: Tomasz Maciej Nowak --- .../linux/ath79/base-files/etc/uci-defaults/04_led_migration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration index a17702ac10..c73c9daddf 100644 --- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration @@ -44,8 +44,8 @@ migrate_leds() board=$(board_name) case "$board" in -*) - return 0 +engenius,epg5000) + migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g" ;; esac