From ffbb4f88a9a6b564b5b8a270e56f459ccbf6ace3 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 29 May 2012 16:39:18 +0000 Subject: ramips: use the generic uci-default functions for initial LED setup SVN-Revision: 31993 --- .../linux/ramips/base-files/etc/uci-defaults/leds | 49 ++++------------------ 1 file changed, 8 insertions(+), 41 deletions(-) (limited to 'target') 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 <