[source] ramips: fix syntax error in board.d/01_leds

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 27 00:42:40 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/3a2cc2c8ad0abe72070688348d70c8d3aadc46ef

commit 3a2cc2c8ad0abe72070688348d70c8d3aadc46ef
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Thu Apr 27 09:38:25 2017 +0200

    ramips: fix syntax error in board.d/01_leds
    
    Fixes the following error:
    
      syntax error: unexpected newline (expecting ")")
    
    Fixes: FS#739
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 5aab21c..52542ec 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -290,7 +290,7 @@ pbr-m1)
 psg1208)
 	set_wifi_led "$board:white:wlan2g"
 	;;
-psg1218a\|
+psg1218a|\
 psg1218b)
 	ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0"
 	ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0"



More information about the lede-commits mailing list