From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-wireless/bluez/files: bluetooth-init.d-r2 |
Date: | Fri, 06 Jul 2012 18:41:26 |
Message-Id: | 20120706184115.0206620033@flycatcher.gentoo.org |
1 | pacho 12/07/06 18:41:14 |
2 | |
3 | Added: bluetooth-init.d-r2 |
4 | Log: |
5 | Recover bluetoothd init.d script to start it now that upstream has decided to drop udev rule (bug #423513 by Nikolay S. Rybaloff, Marcin Deranek and others). |
6 | |
7 | (Portage version: 2.1.11.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-wireless/bluez/files/bluetooth-init.d-r2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r2?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r2?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bluetooth-init.d-r2 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2012 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r2,v 1.1 2012/07/06 18:41:14 pacho Exp $ |
21 | |
22 | depend() { |
23 | after coldplug |
24 | need dbus localmount hostname |
25 | } |
26 | |
27 | start() { |
28 | ebegin "Starting ${SVCNAME}" |
29 | start-stop-daemon --start --exec /usr/sbin/bluetoothd |
30 | eend $? |
31 | } |
32 | |
33 | stop() { |
34 | ebegin "Shutting down ${SVCNAME}" |
35 | start-stop-daemon --stop --quiet --exec /usr/sbin/bluetoothd |
36 | eend $? |
37 | } |