On 10.09.2020 10:53, Rafał Miłecki wrote:
From: Rafał Miłecki
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 comme
From: Rafał Miłecki
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.
Example:
root@OpenWrt:~# ubus call rc list
{
"blockd": {
"enabled": true,