From 09e13bd341da40af41e0dede8f4dcbf5ea87aefb Mon Sep 17 00:00:00 2001 From: Luis Araneda Date: Wed, 27 Dec 2017 23:38:50 -0300 Subject: [PATCH] ipq806x: add a helper variable with the vendor name stripped This will allow to maintain the current syntax for LEDs config when switching to a device tree compatible string boardname. None of the current boards use a comma in the boardname, so they will be unaffected. Signed-off-by: Luis Araneda --- target/linux/ipq806x/base-files/etc/board.d/01_leds | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds index 5e04ee773a..f9ec88bb34 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/01_leds +++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds @@ -8,6 +8,7 @@ board_config_update board=$(board_name) +boardname="${board##*,}" case "$board" in c2600) -- 2.30.2