From: juhosg 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: https://git.archive.openwrt.org/?a=commitdiff_plain;h=93945c881548e71eff9e50093f06427667c06461;p=openwrt.git 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 --- 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 <