From c81c6516de0640c59591d26f29f61a755fdcb736 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 29 May 2012 16:39:20 +0000 Subject: [PATCH] kirkwood: use the generic uci-default functions for initial LED setup SVN-Revision: 31994 --- .../kirkwood/base-files/etc/uci-defaults/leds | 42 ++----------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/leds b/target/linux/kirkwood/base-files/etc/uci-defaults/leds index a0b1c1c1fa..6d11d939c4 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/leds @@ -3,55 +3,21 @@ # Copyright (C) 2012 OpenWrt.org # -COMMIT_SYSTEM=0 - -set_led_netdev() { - local cfg="led_$1" - local sysfs=$2 - local dev=$3 - - uci -q get system.$cfg && return 0 - - uci batch <