aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-10-24 21:49:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-10-24 21:49:31 +0000
commit68a01c0180902444cfc7bde8fe3a161c4c826041 (patch)
treea50167667a9843012934d2820bebe621f2c56c90 /target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn
parentc8b9086ac5ceaf9a42623310ae85fa7be58c8547 (diff)
downloadupstream-68a01c0180902444cfc7bde8fe3a161c4c826041.tar.gz
upstream-68a01c0180902444cfc7bde8fe3a161c4c826041.tar.bz2
upstream-68a01c0180902444cfc7bde8fe3a161c4c826041.zip
ramips: combine led setup for all boards in one file
This removes unnecessary duplication and simplifies led setup for new boards. It would be a one line change most likely. Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> SVN-Revision: 28569
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn24
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn b/target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn
deleted file mode 100755
index eba2b169c0..0000000000
--- a/target/linux/ramips/base-files/etc/uci-defaults/mofi3500-3gn
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2011 OpenWrt.org
-#
-
-mofi3500_set_leds() {
- uci batch <<EOF
-set system.usb_led=led
-set system.usb_led.name='USB'
-set system.usb_led.sysfs='mofi3500-3gn:green:usb'
-set system.usb_led.trigger='usbdev'
-set system.usb_led.dev='1-1'
-set system.usb_led.interval='50'
-commit system
-EOF
-}
-
-. /lib/ramips.sh
-
-board=$(ramips_board_name)
-
-if [ "${board}" == "mofi3500-3gn" ]; then
- mofi3500_set_leds
-fi