ucode for scripts

Christian Marangi (Ansuel) ansuelsmth at gmail.com
Wed Nov 5 12:54:41 PST 2025


Il giorno mer 5 nov 2025 alle ore 21:53 Jonas Lochmann
<openwrt at jonaslochmann.de> ha scritto:
>
> Am Tue, Nov 04, 2025 at 09:11:56PM +0100, schrieb Paul D:
> > This is in line with stated goals for 24.10, to use more ucode.
>
> Where are those documented?
>
> I am wondering whether ucode or native code are preferred? mwan3rtmon
> is a shell script right now but does a lot of netlink stuff by calling
> other tools. So I am thinking of rewriting it in another language and
> now I am unsure which one I should take.
>

Go for ucode. Without any doubt.

> > Also, not certain what the ucode equivalent is for "eval export --" kinda stuff (but IIRC, those only live for the duration of the shell, no?). Perhaps jow can answer.
>
> I assume that ucode can handle structured data and JSON without this constructions.
>
> _______________________________________________
> 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