diff options
Diffstat (limited to 'testing/eiwd/eiwd.initd')
-rw-r--r-- | testing/eiwd/eiwd.initd | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/testing/eiwd/eiwd.initd b/testing/eiwd/eiwd.initd index 3ae8fc436af..b72f5e8583f 100644 --- a/testing/eiwd/eiwd.initd +++ b/testing/eiwd/eiwd.initd @@ -1,13 +1,25 @@ #!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -pidfile="/run/iwd.pid" +description="iNet wireless daemon without dbus" + +: ${error_logger="logger -t eiwd -p daemon.info >/dev/null 2>&1"} +: ${start_wait=50} # milliseconds + command="/usr/libexec/iwd" command_background="yes" +command_args=" + ${allowed_interfaces:+"--interfaces \"$allowed_interfaces\""} + ${ignored_interfaces:+"--nointerfaces \"$ignored_interfaces\""} + ${command_args:-} + " +start_stop_daemon_args=" + ${start_wait:+--wait $start_wait} + ${start_stop_daemon_args:-} + " +pidfile="/run/iwd.pid" depend() { - need dbus before net keyword -shutdown + provide wlan } |