[PATCH v2 2/9] uci: maintain option position in uci_set
Paul Oranje
por at oranjevos.nl
Wed Nov 30 04:36:38 PST 2022
Op 26 nov. 2022, om 11:02 heeft Andre Heider <a.heider at gmail.com> het volgende geschreven:
>
> On 20/11/2022 02:08, Jan Venekamp wrote:
>> Maintain the position of an option in the list when updating an option
>> in uci_set.
>
> Nice, that's really an annoyance!
>
> I assume this doesn't fix wiping '#' comments when saving through luci? That's just as annoying :)
An alternative for # comments is adding "option comment blabla".
These will survive any updates from (L)UCI.
>
> Cheers,
> Andre
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list