procd: allow usage of * as procd_running() instance parameter
authorAlin Nastac <alin.nastac@gmail.com>
Thu, 17 Oct 2019 12:06:40 +0000 (14:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 18 Oct 2019 17:28:11 +0000 (19:28 +0200)
commitddf6ec29b477f0cf7ce7839c8c9710fb4b969621
tree2a3cd962473fa3f8666c0d0166e5c432ed9ccd49
parent91aabae8958d586a01eca6d47af579194f7c2116
procd: allow usage of * as procd_running() instance parameter

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>
package/system/procd/Makefile
package/system/procd/files/procd.sh