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 <j...@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-de...@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
signature.asc
Description: OpenPGP Digital Signature
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev