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.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/iwd/iwd.initd b/community/iwd/iwd.initd
index 3c6bdc001b..df5cfb5d72 100644
--- a/community/iwd/iwd.initd
+++ b/community/iwd/iwd.initd
@@ -3,6 +3,7 @@
description="iNet wireless daemon"
: ${error_logger="logger -t iwd -p daemon.info"}
+: ${start_wait=50} # milliseconds
command="/usr/libexec/iwd"
command_background="yes"
@@ -11,6 +12,10 @@ 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() {