diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-12 12:31:30 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-07-12 12:31:30 +0000 |
commit | aee666d8f9bd92bd8ebd7ec53631f4d5a6d36fba (patch) | |
tree | f68eca6cd9095a976fdac27d3f9f89bbfda226db /target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds | |
parent | ba3988fb16c1392c41e4710474fc5df1f1f92a83 (diff) | |
download | master-31e0f0ae-aee666d8f9bd92bd8ebd7ec53631f4d5a6d36fba.tar.gz master-31e0f0ae-aee666d8f9bd92bd8ebd7ec53631f4d5a6d36fba.tar.bz2 master-31e0f0ae-aee666d8f9bd92bd8ebd7ec53631f4d5a6d36fba.zip |
brcm63xx: Use model name for ADB P.DG A4001N1
This patch also makes use of the new leds script.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41585
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds')
-rw-r--r-- | target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds index 6007e38218..ae7ed96093 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds @@ -1,14 +1,16 @@ #!/bin/sh # -# Copyright (C) 2013 OpenWrt.org +# Copyright (C) 2013-2014 OpenWrt.org # - . /lib/functions/uci-defaults.sh . /lib/brcm63xx.sh - case "$board_name" in +963281T_TEF) + ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0" + ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1" + ;; 'F@ST2704V2') ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1" ;; |