summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bluez/bluez-5.47-r1.ebuild (renamed from net-wireless/bluez/bluez-5.47.ebuild)2
-rwxr-xr-xnet-wireless/bluez/files/bluetooth-init.d-r412
2 files changed, 13 insertions, 1 deletions
diff --git a/net-wireless/bluez/bluez-5.47.ebuild b/net-wireless/bluez/bluez-5.47-r1.ebuild
index 1549f18010f8..e60d2611e3fe 100644
--- a/net-wireless/bluez/bluez-5.47.ebuild
+++ b/net-wireless/bluez/bluez-5.47-r1.ebuild
@@ -245,7 +245,7 @@ multilib_src_install_all() {
done
doins src/main.conf
- newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth
+ newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth
newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm
einstalldocs
diff --git a/net-wireless/bluez/files/bluetooth-init.d-r4 b/net-wireless/bluez/files/bluetooth-init.d-r4
new file mode 100755
index 000000000000..97cf500008e0
--- /dev/null
+++ b/net-wireless/bluez/files/bluetooth-init.d-r4
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/run/bluetoothd.pid"
+command="/usr/libexec/bluetooth/bluetoothd"
+command_background=1
+
+depend() {
+ after coldplug
+ need dbus localmount hostname
+}