From 014e1ffa51093227502859b39ceea0e296862886 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 29 May 2012 16:39:21 +0000 Subject: lantiq: use the generic uci-default functions for initial LED setup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31995 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/lantiq/base-files/etc/uci-defaults/leds | 125 +++++---------------- 1 file changed, 26 insertions(+), 99 deletions(-) (limited to 'target') diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds index 2a7db4c1a..64b080f33 100755 --- a/target/linux/lantiq/base-files/etc/uci-defaults/leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/leds @@ -4,128 +4,55 @@ # based on ar71xx # -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 <