summaryrefslogtreecommitdiff
path: root/user/bluez/bluetooth.initd
diff options
context:
space:
mode:
Diffstat (limited to 'user/bluez/bluetooth.initd')
-rw-r--r--user/bluez/bluetooth.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/bluez/bluetooth.initd b/user/bluez/bluetooth.initd
new file mode 100644
index 000000000..ee40153ec
--- /dev/null
+++ b/user/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
+ need dbus localmount hostname
+}
+