From: Florian Fainelli Date: Wed, 20 Jun 2012 21:57:56 +0000 (+0000) Subject: use generic uci defaults functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a98c74164e63571712ae44beb795c9bbfbc7e82f;p=openwrt%2Fstaging%2Fneocturne.git use generic uci defaults functions SVN-Revision: 32473 --- diff --git a/target/linux/mcs814x/base-files/etc/uci-defaults/leds b/target/linux/mcs814x/base-files/etc/uci-defaults/leds index f90b00e322..8d366b66c2 100644 --- a/target/linux/mcs814x/base-files/etc/uci-defaults/leds +++ b/target/linux/mcs814x/base-files/etc/uci-defaults/leds @@ -3,43 +3,24 @@ # Copyright (C) 2012 OpenWrt.org # -COMMIT_SYSTEM=0 - -set_led_usbdev() { - local cfg="led_$1" - local name=$2 - local sysfs=$3 - local dev=$4 - - uci -q get system.$cfg && return 0 - - uci batch <