A service managed by procd does have a json object with usefull information.
This information could by dumped with the following command.
ubus call service list "{ 'verbose':true, 'name': '<service-name>)'". }"
This line is long and complicated to enter. This commit adds a wrapper
call to the procd service section tool to simplify the input and get the
output faster.
We could now enter the command /etc/initd/<service> info to get the info
faster.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
||
|---|---|---|
| .. | ||
| board.d | ||
| hotplug.d/net | ||
| init.d | ||
| iproute2 | ||
| rc.button | ||
| sysctl.d | ||
| uci-defaults | ||
| banner | ||
| banner.failsafe | ||
| device_info | ||
| diag.sh | ||
| ethers | ||
| fstab | ||
| group | ||
| hosts | ||
| inittab | ||
| openwrt_release | ||
| openwrt_version | ||
| os-release | ||
| passwd | ||
| preinit | ||
| profile | ||
| protocols | ||
| rc.common | ||
| rc.local | ||
| services | ||
| shadow | ||
| shells | ||
| shinit | ||
| sysctl.conf | ||
| sysupgrade.conf | ||