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-r1 |
Date: | Mon, 09 Jan 2012 23:02:06 |
Message-Id: | 20120109230155.5ADFE2004C@flycatcher.gentoo.org |
1 | pacho 12/01/09 23:01:55 |
2 | |
3 | Added: bluetooth-init.d-r1 |
4 | Log: |
5 | 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. |
6 | |
7 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-wireless/bluez/files/bluetooth-init.d-r1 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r1?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r1?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bluetooth-init.d-r1 |
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-r1,v 1.1 2012/01/09 23:01:55 pacho Exp $ |
21 | |
22 | depend() { |
23 | after coldplug |
24 | need dbus localmount hostname |
25 | } |
26 | |
27 | start() { |
28 | ebegin "Udev coldplug of bluetooth devices" |
29 | udevadm trigger --subsystem-match=bluetooth --action=add |
30 | eend $? |
31 | } |
32 | |
33 | stop() { |
34 | return 0 |
35 | } |