aboutsummaryrefslogtreecommitdiffstats
path: root/community/iwd/iwd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/iwd/iwd.initd')
-rw-r--r--community/iwd/iwd.initd8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/iwd/iwd.initd b/community/iwd/iwd.initd
index 3c6bdc001b9..ce0dda4e8c3 100644
--- a/community/iwd/iwd.initd
+++ b/community/iwd/iwd.initd
@@ -2,7 +2,8 @@
description="iNet wireless daemon"
-: ${error_logger="logger -t iwd -p daemon.info"}
+: ${error_logger="logger -t iwd -p daemon.info >/dev/null 2>&1"}
+: ${start_wait=50} # milliseconds
command="/usr/libexec/iwd"
command_background="yes"
@@ -11,10 +12,15 @@ command_args="
${ignored_interfaces:+"--nointerfaces \"$ignored_interfaces\""}
${command_args:-}
"
+start_stop_daemon_args="
+ ${start_wait:+--wait $start_wait}
+ ${start_stop_daemon_args:-}
+ "
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need dbus
before net
keyword -shutdown
+ provide wlan
}