summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:33 +0000
committerJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:33 +0000
commitfe37b14fca0a98c8f5c4a01f9d46ff64bcf6371c (patch)
tree27571317a6804fc2ad828905dcf145d6d23210ca /target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
parentf92b2a956bbd35964dcd77ca34c4f3b55ada32bc (diff)
downloadmaster-31e0f0ae-fe37b14fca0a98c8f5c4a01f9d46ff64bcf6371c.tar.gz
master-31e0f0ae-fe37b14fca0a98c8f5c4a01f9d46ff64bcf6371c.tar.bz2
master-31e0f0ae-fe37b14fca0a98c8f5c4a01f9d46ff64bcf6371c.zip
brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
This adds userspace support for Sagemcom F@st 2704 router. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4215/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39672
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_leds19
1 files changed, 19 insertions, 0 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
new file mode 100644
index 0000000000..6007e38218
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+
+
+. /lib/functions/uci-defaults.sh
+. /lib/brcm63xx.sh
+
+
+case "$board_name" in
+'F@ST2704V2')
+ ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
+ ;;
+esac
+
+ucidef_commit_leds
+
+exit 0