summaryrefslogtreecommitdiff
path: root/repo/bluez/bluetooth.initd
diff options
context:
space:
mode:
Diffstat (limited to 'repo/bluez/bluetooth.initd')
-rw-r--r--repo/bluez/bluetooth.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/bluez/bluetooth.initd b/repo/bluez/bluetooth.initd
new file mode 100644
index 0000000..3e5ec98
--- /dev/null
+++ b/repo/bluez/bluetooth.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+name="Bluetooth"
+command="/usr/lib/bluetooth/bluetoothd"
+pidfile="/var/run/bluetoothd.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+
+depend() {
+ after coldplug udev-postmount
+ need dbus localmount hostname
+}
+