From 93945c881548e71eff9e50093f06427667c06461 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 29 May 2012 16:39:18 +0000 Subject: ramips: use the generic uci-default functions for initial LED setup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31993 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/ramips/base-files/etc/uci-defaults/leds | 49 ++++------------------ 1 file changed, 8 insertions(+), 41 deletions(-) (limited to 'target/linux/ramips/base-files/etc') diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index f87a64faef..fdfce39e8a 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -1,51 +1,14 @@ #!/bin/sh +. /lib/functions/uci-defaults.sh . /lib/ramips.sh set_usb_led() { - local sysfs="$1" - - uci batch <