[PATCH V4 rpc] rc: new ubus object for handling /etc/init.d/ scripts

Rafał Miłecki zajec5 at gmail.com
Thu Sep 10 07:25:14 EDT 2020


On 10.09.2020 10:53, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This commit adds "rc" ubus object with methods "list" and "exec" for
> listing and calling init.d script appropriately. It's useful for all
> kind of UIs (e.g. LuCI) and custom apps.

Pushed with strstr -> strncmp to avoid parsing commented out lines like
# START=90



More information about the openwrt-devel mailing list