diff options
author | David Woodhouse <dwmw2@infradead.org> | 2017-02-13 13:38:33 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-02-15 07:52:28 +0100 |
commit | add465f1be5d092ef049306ea2a211ff3f82b146 (patch) | |
tree | f6b34c3021d18ab43dc1d655fec8db329d301ee2 /target/linux/x86/base-files/etc/board.d | |
parent | 27a635f0b487eb54bde58639c80080396bbf1c03 (diff) | |
download | upstream-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-x | target/linux/x86/base-files/etc/board.d/01_leds | 2 |
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 |