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 | e3bf4378cccf5ea95e9bea4051ac326ebad33d85 (patch) | |
tree | 98fb9b52ad4088cd94806e48c2df031386b19ef5 /target/linux/brcm63xx/base-files | |
parent | 8fbe1896f93610ee3466fe3d49aae96d81828043 (diff) | |
download | upstream-e3bf4378cccf5ea95e9bea4051ac326ebad33d85.tar.gz upstream-e3bf4378cccf5ea95e9bea4051ac326ebad33d85.tar.bz2 upstream-e3bf4378cccf5ea95e9bea4051ac326ebad33d85.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41585 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r-- | target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 2 |
2 files changed, 6 insertions, 4 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" ;; diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index c6b2d20540..afacffcd9a 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -54,7 +54,7 @@ brcm63xx_detect() { ;; 963281T_TEF) brcm63xx_has_reset_button="true" - status_led="963281T_TEF:green:power" + status_led="A4001N1:green:power" ifname=eth0 ;; 96348GW) |