summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/iwd/files/iwd.initd')
-rw-r--r--net-wireless/iwd/files/iwd.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-wireless/iwd/files/iwd.initd b/net-wireless/iwd/files/iwd.initd
new file mode 100644
index 000000000000..12983c1ab2d0
--- /dev/null
+++ b/net-wireless/iwd/files/iwd.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/run/iwd.pid"
+command="/usr/libexec/iwd"
+command_background="yes"
+
+depend() {
+ need dbus
+ keyword -shutdown
+}