service_running() implementation in /etc/rc.common use it. It is preferable to use wildcard than assuming the instance name is the default one. jsonfilter returns all matches when wildcards are used, hence the -l 1 argument used to limit output to only one value. Signed-off-by: Alin Nastac <alin.nastac@gmail.com> |
||
|---|---|---|
| .. | ||
| ca-certificates | ||
| fstools | ||
| fwtool | ||
| iucode-tool | ||
| mtd | ||
| openwrt-keyring | ||
| opkg | ||
| procd | ||
| rpcd | ||
| ubox | ||
| ubus | ||
| ucert | ||
| uci | ||
| urandom-seed | ||
| urngd | ||
| usign | ||
| zram-swap | ||