From: juhosg Date: Tue, 29 May 2012 16:39:21 +0000 (+0000) Subject: lantiq: use the generic uci-default functions for initial LED setup X-Git-Tag: fast2504n-3.10.28-merged~5880 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=014e1ffa51093227502859b39ceea0e296862886;p=openwrt.git 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 --- 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 <