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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Jul 6 18:41:14 2012 UTC (2 years, 5 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
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).

(Portage version: 2.1.11.3/cvs/Linux x86_64)

1 pacho 1.1 #!/sbin/runscript
2     # Copyright 1999-2012 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-r1,v 1.1 2012/01/09 23:01:55 pacho 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 --exec /usr/sbin/bluetoothd
14     eend $?
15     }
16    
17     stop() {
18     ebegin "Shutting down ${SVCNAME}"
19     start-stop-daemon --stop --quiet --exec /usr/sbin/bluetoothd
20     eend $?
21     }

  ViewVC Help
Powered by ViewVC 1.1.20