aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files/etc/board.d
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2017-02-13 13:38:33 +0000
committerJohn Crispin <john@phrozen.org>2017-02-15 07:52:28 +0100
commitadd465f1be5d092ef049306ea2a211ff3f82b146 (patch)
treef6b34c3021d18ab43dc1d655fec8db329d301ee2 /target/linux/x86/base-files/etc/board.d
parent27a635f0b487eb54bde58639c80080396bbf1c03 (diff)
downloadupstream-add465f1be5d092ef049306ea2a211ff3f82b146.tar.gz
upstream-add465f1be5d092ef049306ea2a211ff3f82b146.tar.bz2
upstream-add465f1be5d092ef049306ea2a211ff3f82b146.zip
x86: Enable DIAG LED on Geos
Based on a patch from Chris Blake <chrisrblake93@gmail.com>, 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 <dwmw2@infradead.org>
Diffstat (limited to 'target/linux/x86/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/x86/base-files/etc/board.d/01_leds2
1 files changed, 1 insertions, 1 deletions
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