From patchwork Wed Mar 13 16:44:21 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: 1056133 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="OB9mWKMo"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="zGWmKzcu"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=o2.pl header.i=@o2.pl header.b="UNwCmrLU"; 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 44KHj564PTz9s00 for ; Thu, 14 Mar 2019 03:43:37 +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: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:In-Reply-To:References: List-Owner; bh=mbO6XzreLOogGjuJytX/NMmJLaCn+mvSRIDa6UcD5/A=; b=OB9mWKMowkprc2 Z6ZMBe9Vb7yjMBPtYoDcVJgwz7VRwBoFFWpCY48zzat4AWxMoPz9iy3nkdbrkHJJCbhIwWgctVFLA 2zIuaOEZTD+Vx10YVzln8F2go39eVmj49GXEBchJ0OSRzc4EiFPeyKwnN+195oiJvZcJlorEAakYY KyXOojm/Q+d26TOcycMoOInaHz/tXTL7EhH6LsqgxBmYNWXHrHlFtUETxtPIu6a8zBkoyrUl3HR7z mUjkyDAnPlHU3tA2EpujDo2SgQUYMcYBvDVCPkGdb2x4rrq9KanY1g8n0JyT6hoqRKXsyGEJUo4v9 euJQzIx1rG6dxB5/WRug==; 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 1h46yZ-0000YF-VR; Wed, 13 Mar 2019 16:43:31 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h46yY-0000WW-DY for openwrt-devel@bombadil.infradead.org; Wed, 13 Mar 2019 16:43:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tQTr2fB3ONyEIQaywKkGAfLkaq48lcumPEBZVKZx3Nk=; b=zGWmKzcu72uO3JLmPSFp/Y64+n LwzCOjL4RHk7Vy/mup2H7j71oz0Vx2dOe/8fJBQ+lpkhA5JTVtwJoKcAgyU3e+PMbsSCwXfAkFQxC PfsXHxo8r0V3WMU3+W6Ya9ZrYQGvxxQ71SJ5LhQK5yj5rzkdjiY5mROgK3YrfkN5qWxKUs6oZ54Px Q7jsitDASAc02x0oIUf8wEfPICfe3pjge7Vr5lDEqZeiRbP4iY8ks7hvIsZcADSt/2z8KvEdTYEM5 VGCDWbrw0HD5S1UYyl3oRsYvmTt7oRkymgW44L+EIc3Kgyx86Y/mS6ED+xL6pZ5P9a9R6mMgwJcVs kDBVfowA==; Received: from mx-out.tlen.pl ([193.222.135.158]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h46yV-0004zB-2p for openwrt-devel@lists.openwrt.org; Wed, 13 Mar 2019 16:43:28 +0000 Received: (wp-smtpd smtp.tlen.pl 40809 invoked from network); 13 Mar 2019 17:42:48 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1552495368; bh=tQTr2fB3ONyEIQaywKkGAfLkaq48lcumPEBZVKZx3Nk=; h=From:To:Subject; b=UNwCmrLUw2IaQhLv18pAJf9ySgsYXmznh4BvcVCK70EBG05PTxFLqpHczKt+xjSnr ImLFVPOveTUGm83DyS29qcuOoYw9zYYW1c4vNDluxmp16ND/cKgrFVYI4aARxFKD/G yNK/9YVSLn3F6/hDtxOge7SS5cQWXU9Gx/tMPHJg= 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:48 +0100 From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Date: Wed, 13 Mar 2019 17:44:21 +0100 Message-Id: <20190313164424.12194-1-tomek_n@o2.pl> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-WP-MailID: a6da10cd5ea8ffadc5d1b3980ecdfb3c X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 000000A [0RN0] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190313_124327_387329_A01A2622 X-CRM114-Status: UNSURE ( 5.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tomek_n[at]o2.pl) -0.0 SPF_PASS SPF: sender matches SPF record 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 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [OpenWrt-Devel] [PATCH 1/4] ath79: fix leds description for EnGenius EPG5000 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 Align the LEDs deffinition with MACH file present in ar71xx target which has the correct LED functions and colors adescription. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/qca9558_engenius_epg5000.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts index 38cd81a8f8..6179150fdb 100644 --- a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts +++ b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts @@ -30,11 +30,6 @@ default-state = "on"; }; - wan { - label = "epg5000:blue:wan"; - gpios = <&gpio 22 GPIO_ACTIVE_LOW>; - }; - wlan2g { label = "epg5000:blue:wlan2g"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; @@ -47,7 +42,12 @@ linux,default-trigger = "phy0tpt"; }; - wps { + wps_amber { + label = "epg5000:amber:wps"; + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; + }; + + wps_blue { label = "epg5000:blue:wps"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; }; From patchwork Wed Mar 13 16:44:23 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: 1056130 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="TleZDd04"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=o2.pl header.i=@o2.pl header.b="Q7SmGR4X"; 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 44KHhp3Z8dz9s00 for ; Thu, 14 Mar 2019 03:43:22 +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=LNvMtdxdyuflzBWDYGK+HNoiB8L5iydgo9CLSZzQefA=; b=TleZDd04VgCsmZcO+aergHaSDu i4lZVUy0wQJjaeb2QckfJd7eIG20EZpY1JvjJDuOMBIl+B0TLnYLyFXSoRwsux8VHBkl82yuc0J+6 Wf9DWzC53UZ9pNvRHYq8r9kws+rk42DAdRD4jmGc4DWfJTC+Jbt1GJbccOEP2YfsyaTg8yHhl3GIo zH0+hBH0E6gt8wRLRxS7P3iPJO9NNtWvMhxhg8SWlqAon2LS86dE9ZKDaOKD6xOySbymnI2yivUCU qo2Xh1l2twRbMXSijIcLjGwX9bx3RDdwBlJtMVSiYhvGobw8bknEdEdd4mX1LpXtvNJZhb4LUD0Q6 2xotMDvA==; 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 1h46yC-0008Os-BM; Wed, 13 Mar 2019 16:43:08 +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 1h46y4-0008Fc-Kg for openwrt-devel@lists.openwrt.org; Wed, 13 Mar 2019 16:43:02 +0000 Received: (wp-smtpd smtp.tlen.pl 7606 invoked from network); 13 Mar 2019 17:42:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1552495373; bh=fpYH+dVIszrMvl1lsevuwK8lf0oY3yJMrMA8W4GBhHI=; h=From:To:Subject; b=Q7SmGR4X7n1v8uuCRhmZWZ7KtMCEbgh413O0Ak6h2v47d8VHonfRexs9AW7Bd834j 7PntaA9IqZeCnaDWrDV6Js9hHQ4lWVi/twS0qITgidvL7hqsp7ZdHfUVcOmJenw1LF 2lhQS20aWgY0lXOl8z2cO0lZTFybfKWgcO54nhdc= 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:53 +0100 From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Date: Wed, 13 Mar 2019 17:44:23 +0100 Message-Id: <20190313164424.12194-3-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: 7adcda68437a9124230bfca03782d8e5 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [QePU] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190313_094300_835742_7D87FF49 X-CRM114-Status: UNSURE ( 8.05 ) 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 3/4] ath79: add leds migration script 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 With transition from ar71xx to ath79 some of devices change their naming of LEDs. When upgrading from ar71xx target images this will require the user to adjust previously working configuration. This commit adds migration script which can be used to rename old names to new ones. With this previously working configuration will be automatically adjusted, wihtout user intervention. Signed-off-by: Tomasz Maciej Nowak --- .../etc/uci-defaults/04_led_migration | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 target/linux/ath79/base-files/etc/uci-defaults/04_led_migration 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 new file mode 100644 index 0000000000..a17702ac10 --- /dev/null +++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration @@ -0,0 +1,54 @@ +#!/bin/sh +# +# Copyright (C) 2013 OpenWrt.org +# + +LED_OPTIONS_CHANGED=0 + +. /lib/functions.sh + +do_led_update_sysfs() +{ + local cfg=$1; shift + local tuples="$@" + local sysfs + local name + + config_get sysfs $cfg sysfs + config_get name $cfg name + + [ -z "$sysfs" ] && return + + for tuple in $tuples; do + local old=${tuple%=*} + local new=${tuple#*=} + local new_sysfs + + new_sysfs=$(echo ${sysfs} | sed "s/${old}/${new}/") + + [ "$new_sysfs" = "$sysfs" ] && continue + + uci set system.${cfg}.sysfs="${new_sysfs}" + LED_OPTIONS_CHANGED=1 + + logger -t led-migration "sysfs option of LED \"${name}\" updated to ${new_sysfs}" + done; +} + +migrate_leds() +{ + config_load system + config_foreach do_led_update_sysfs led "$@" +} + +board=$(board_name) + +case "$board" in +*) + return 0 + ;; +esac + +[ "$LED_OPTIONS_CHANGED" = "1" ] && uci commit system + +exit 0 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