diff options
author | Luka Perkov <luka@openwrt.org> | 2014-05-28 21:43:39 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-05-28 21:43:39 +0000 |
commit | 4122af10f9567ffbd72b1a4ebdcd1f6c221f0bae (patch) | |
tree | eaa9d8ba5b20847649e617910525ea2270777449 /target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | |
parent | 95c615262c6931dac4bd58f37d15db2907403dfb (diff) | |
download | mtk-20170518-4122af10f9567ffbd72b1a4ebdcd1f6c221f0bae.zip mtk-20170518-4122af10f9567ffbd72b1a4ebdcd1f6c221f0bae.tar.gz mtk-20170518-4122af10f9567ffbd72b1a4ebdcd1f6c221f0bae.tar.bz2 |
kirkwood: add support for Linksys EA4500
Support is added only for kernel 3.14 - do not show it until
the switch is made.
Following uboot env changes are needed to make it work on stock uboot:
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/uci-defaults/01_leds')
-rw-r--r-- | target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds index 1600464..1e7e064 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2012-2013 OpenWrt.org +# Copyright (C) 2012-2014 OpenWrt.org # . /lib/functions/uci-defaults.sh @@ -14,6 +14,10 @@ case "`cat /proc/device-tree/model`" in ucidef_set_led_default "health" "status:green:health" "1" ucidef_set_led_default "fault" "status:orange:fault" "1" ;; +"Linksys EA4500") + ucidef_set_led_default "health" "ea4500:white:health" "1" + ucidef_set_led_default "pulse" "ea4500:white:pulse" "1" + ;; *) ;; esac |