From 3051c65e16e655957c38bc1df237e170a50bd784 Mon Sep 17 00:00:00 2001 From: freaj Date: Wed, 25 Mar 2015 19:29:42 +0100 Subject: openrc-desktop-20150325-1: Insert missing files --- pcr/openrc-desktop/bluetooth-init.d-r3 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pcr/openrc-desktop/bluetooth-init.d-r3 (limited to 'pcr/openrc-desktop/bluetooth-init.d-r3') diff --git a/pcr/openrc-desktop/bluetooth-init.d-r3 b/pcr/openrc-desktop/bluetooth-init.d-r3 new file mode 100644 index 000000000..f97fdb2c7 --- /dev/null +++ b/pcr/openrc-desktop/bluetooth-init.d-r3 @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r3,v 1.2 2014/01/09 13:24:42 joker Exp $ + +depend() { + after coldplug + need dbus localmount hostname +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --background --exec /usr/libexec/bluetooth/bluetoothd + eend $? +} + +stop() { + ebegin "Shutting down ${SVCNAME}" + start-stop-daemon --stop --quiet --exec /usr/libexec/bluetooth/bluetoothd + eend $? +} -- cgit v1.2.3-54-g00ecf