From: Gabor Juhos Date: Tue, 29 May 2012 16:39:18 +0000 (+0000) Subject: ramips: use the generic uci-default functions for initial LED setup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ffbb4f88a9a6b564b5b8a270e56f459ccbf6ace3;p=openwrt%2Fstaging%2Fjow.git ramips: use the generic uci-default functions for initial LED setup SVN-Revision: 31993 --- 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 <