From: Gabor Juhos Date: Tue, 29 May 2012 16:39:17 +0000 (+0000) Subject: ar71xx: use the generic uci-default functions for initial LED setup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4e40bdc19087d45471114c56020e4107e063509a;p=openwrt%2Fstaging%2Fjow.git ar71xx: use the generic uci-default functions for initial LED setup SVN-Revision: 31992 --- diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 2ec67cb695..e18afaa814 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -3,240 +3,148 @@ # Copyright (C) 2011 OpenWrt.org # -COMMIT_SYSTEM=0 - -set_led_netdev() { - local cfg="led_$1" - local name=$2 - local sysfs=$3 - local dev=$4 - - uci -q get system.$cfg && return 0 - - uci batch <