aboutsummaryrefslogtreecommitdiffstats
path: root/main/wpa_supplicant/wpa_cli.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/wpa_supplicant/wpa_cli.initd')
-rw-r--r--[-rwxr-xr-x]main/wpa_supplicant/wpa_cli.initd10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/wpa_supplicant/wpa_cli.initd b/main/wpa_supplicant/wpa_cli.initd
index e9139c02b1..f5a25a8896 100755..100644
--- a/main/wpa_supplicant/wpa_cli.initd
+++ b/main/wpa_supplicant/wpa_cli.initd
@@ -1,8 +1,12 @@
#!/sbin/openrc-run
-command="/sbin/wpa_cli"
-pidfile="/var/run/${SVCNAME}.pid"
-command_args="${WPACLI_OPTS} -B -P ${pidfile} >/dev/null"
+supervisor=supervise-daemon
+
+name="WPA Command Line Client"
+description="Text-based frontend for interacting with WPA Supplicant"
+
+command=/sbin/wpa_cli
+command_args="${WPACLI_OPTS} >/dev/null"
depend() {
need wpa_supplicant