From: Gabor Juhos Date: Tue, 29 May 2012 16:39:21 +0000 (+0000) Subject: lantiq: use the generic uci-default functions for initial LED setup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff743056237638ee3a77934b5c513244dc4b0f81;p=openwrt%2Fstaging%2Fadrian.git lantiq: use the generic uci-default functions for initial LED setup SVN-Revision: 31995 --- diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds index 2a7db4c1a8..64b080f33b 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 <