From add465f1be5d092ef049306ea2a211ff3f82b146 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 13 Feb 2017 13:38:33 +0000 Subject: x86: Enable DIAG LED on Geos Based on a patch from Chris Blake , except let's do it by using the LED configuration instead of hard-coding it for each board type. And try using /bin/board_detect to do the default behaviour, on the first boot where the config hasn't yet been generated. Signed-off-by: David Woodhouse --- target/linux/x86/base-files/etc/board.d/01_leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/x86/base-files/etc/board.d') diff --git a/target/linux/x86/base-files/etc/board.d/01_leds b/target/linux/x86/base-files/etc/board.d/01_leds index 8a1a1e0125..824c652d10 100755 --- a/target/linux/x86/base-files/etc/board.d/01_leds +++ b/target/linux/x86/base-files/etc/board.d/01_leds @@ -13,7 +13,7 @@ case "$board" in traverse-technologies-geos) ucidef_set_led_netdev "lan" "LAN" "geos:1" "br-lan" "tx rx" ucidef_set_led_netdev "wlan" "WiFi" "geos:2" "phy0tpt" - ucidef_set_led_default "diag" "DIAG" "geos:3" "0" + ucidef_set_led_default "diag" "DIAG" "geos:3" "1" ;; esac board_config_flush -- cgit v1.2.3