From 4e40bdc19087d45471114c56020e4107e063509a Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 29 May 2012 16:39:17 +0000 Subject: [PATCH] ar71xx: use the generic uci-default functions for initial LED setup SVN-Revision: 31992 --- .../ar71xx/base-files/etc/uci-defaults/leds | 212 +++++------------- 1 file changed, 60 insertions(+), 152 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 2ec67cb695c..e18afaa814f 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 <