/[gentoo-x86]/net-wireless/bluez/files/bluetooth-init.d-r3
Gentoo

Contents of /net-wireless/bluez/files/bluetooth-init.d-r3

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 9 13:24:42 2014 UTC (8 months, 1 week ago) by joker
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
The bluez 5 bluetoothd doesn't fork into background. Use start-stop-daemon --background to handle this.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x0151863A67652900!)

1 #!/sbin/runscript
2 # Copyright 1999-2014 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r3,v 1.1 2013/12/23 23:05:20 eva Exp $
5
6 depend() {
7 after coldplug
8 need dbus localmount hostname
9 }
10
11 start() {
12 ebegin "Starting ${SVCNAME}"
13 start-stop-daemon --start --background --exec /usr/libexec/bluetooth/bluetoothd
14 eend $?
15 }
16
17 stop() {
18 ebegin "Shutting down ${SVCNAME}"
19 start-stop-daemon --stop --quiet --exec /usr/libexec/bluetooth/bluetoothd
20 eend $?
21 }

  ViewVC Help
Powered by ViewVC 1.1.20