From aee666d8f9bd92bd8ebd7ec53631f4d5a6d36fba Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 12 Jul 2014 12:31:30 +0000 Subject: brcm63xx: Use model name for ADB P.DG A4001N1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch also makes use of the new leds script. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski SVN-Revision: 41585 --- target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults') 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 6007e38..ae7ed96 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" ;; -- cgit v1.1