[openwrt/openwrt] sunxi: fix board.d/01_leds permissions and drop include

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 12 11:18:37 EST 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/75401550c34f6c67eadcbafe2d430cfbf5a90647

commit 75401550c34f6c67eadcbafe2d430cfbf5a90647
Author: Piotr Jurkiewicz <piotr.jerzy.jurkiewicz at gmail.com>
AuthorDate: Thu Nov 12 02:41:24 2020 +0100

    sunxi: fix board.d/01_leds permissions and drop include
    
    The file lacks executable permissions, which makes it not being applied
    during the first boot.
    
    While at it, drop unneeded include.
    
    Signed-off-by: Piotr Jurkiewicz <piotr.jerzy.jurkiewicz at gmail.com>
    [do not touch board name handling, update commit message/title]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/sunxi/base-files/etc/board.d/01_leds | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/sunxi/base-files/etc/board.d/01_leds b/target/linux/sunxi/base-files/etc/board.d/01_leds
old mode 100644
new mode 100755
index 514b8d1796..32fa00f8a2
--- a/target/linux/sunxi/base-files/etc/board.d/01_leds
+++ b/target/linux/sunxi/base-files/etc/board.d/01_leds
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-. /lib/functions/leds.sh
 . /lib/functions/uci-defaults.sh
 
 board=$(board_name)



More information about the lede-commits mailing list