ar71xx: base-files: drop LED control from 05_set_iface_mac_ar71xx
authorPiotr Dymacz <pepe2k@gmail.com>
Sat, 13 Jan 2018 16:38:19 +0000 (17:38 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 14 Jan 2018 19:33:18 +0000 (20:33 +0100)
There is no "dir-615-c1:green:wancpu" LED defined in mach-dir-615-c1.c

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx

index df653f2e48c65a5fe9923e57c8668621b51b1348..25872b66986f5478f4d9f4a24981768cbdae776b 100644 (file)
@@ -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