[openwrt/openwrt] ar71xx: base-files: drop LED control from 05_set_iface_mac_ar71xx

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 14 15:14:22 PST 2018


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/9a867fcddf0fb89466d2e34d036270cb28fc6ad8

commit 9a867fcddf0fb89466d2e34d036270cb28fc6ad8
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Sat Jan 13 17:38:19 2018 +0100

    ar71xx: base-files: drop LED control from 05_set_iface_mac_ar71xx
    
    There is no "dir-615-c1:green:wancpu" LED defined in mach-dir-615-c1.c
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
index df653f2..25872b6 100644
--- a/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
+++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
@@ -29,7 +29,6 @@ preinit_set_mac_address() {
 			;;
 		dir-615-c1)
 			fetch_mac_from_mtd config lan_mac wan_mac
-			echo 1 > /sys/class/leds/dir-615-c1:green:wancpu/brightness
 			;;
 		dir-615-i1)
 			fetch_mac_from_mtd nvram sys_lan_mac sys_wan_mac



More information about the lede-commits mailing list