[LEDE-DEV] [OpenWrt-Devel] LED uci policy for not actively used LEDs

Karl Palsson karlp at tweak.net.au
Thu Nov 10 07:32:59 PST 2016


Given that the current leds init script only looks for some
explicit values, I've done the following to have a led _listed_
in the UCI file, and available to leds.sh, but not actually
touched by the init script...


>  ucidef_set_led_default "etactica" "etactica" "eg200:red:etactica" "ignored"

It's.... non-ideal, but the current init scripts run so late
(S96) that it's annoying when something is already using the LED,
and the init script comes along and sets it's "default" value.

Cheers,
Karl P

Jo-Philipp Wich <jo at mein.io> wrote:
> Hi Sven,
> 
> imho it is preferable to have usable, but inactive LEDs
> available by default in the system configuration.
> 
> ~ Jo
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20161110/8b371b3d/attachment-0001.sig>


More information about the Lede-dev mailing list