[LEDE-DEV] Lua script as a ubus service using rpcd

Carlito Nueno carlitonueno at gmail.com
Fri Dec 22 19:46:15 PST 2017


Hi all,

I am trying to make a ubus service in lua.

I placed a lua script (myluaservice) in /usr/libexec/rpcd but I didn't
see it in ubus -v list.

So I placed a shell script (myshellservice) in /usr/libexec/rpcd and
moved the lua script (myluaservice) to /usr/bin/ and made both scripts
executables.

Now I can see the shell script in ubus -v list but lua script is not called.

Both scripts:
https://gist.github.com/ironpillow/4e116a7aa897bf05b3bb39c38f9b23b4.

Thanks!



More information about the Lede-dev mailing list