From fe37b14fca0a98c8f5c4a01f9d46ff64bcf6371c Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 22 Feb 2014 11:16:33 +0000 Subject: 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 Patchwork: http://patchwork.openwrt.org/patch/4215/ Signed-off-by: Jonas Gorski SVN-Revision: 39672 --- .../brcm63xx/base-files/etc/uci-defaults/01_leds | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds') 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 0000000..6007e38 --- /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 -- cgit v1.1