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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Jan 9 23:01:55 2012 UTC (2 years, 6 months ago) by pacho
Branch: MAIN
Reintroduce a bluetooth init.d script to trigger bluetooth devices after dbus is started because, as talked with WilliamH, udev-postmount will be removed in the near future due upstream no longer detecting failed triggers at early boot. This should also solve bug 397673 by a.m. Drop old.

(Portage version: 2.1.10.44/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,v 1.2 2011/03/20 16:57:35 pacho Exp $
5    
6     depend() {
7     after coldplug
8     need dbus localmount hostname
9     }
10    
11     start() {
12     ebegin "Udev coldplug of bluetooth devices"
13     udevadm trigger --subsystem-match=bluetooth --action=add
14     eend $?
15     }
16    
17     stop() {
18     return 0
19     }

  ViewVC Help
Powered by ViewVC 1.1.20