diff options
author | 2012-01-09 23:01:55 +0000 | |
---|---|---|
committer | 2012-01-09 23:01:55 +0000 | |
commit | a53dd584a9ab3e8be8c8cec0fa382507ab738df0 (patch) | |
tree | 697e8ec889baae92a2574e0ddca103aaaf091185 /net-wireless/bluez/files | |
parent | Install better looking icons (diff) | |
download | historical-a53dd584a9ab3e8be8c8cec0fa382507ab738df0.tar.gz historical-a53dd584a9ab3e8be8c8cec0fa382507ab738df0.tar.bz2 historical-a53dd584a9ab3e8be8c8cec0fa382507ab738df0.zip |
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.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/bluez/files')
-rw-r--r-- | net-wireless/bluez/files/bluetooth-init.d-r1 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-wireless/bluez/files/bluetooth-init.d-r1 b/net-wireless/bluez/files/bluetooth-init.d-r1 new file mode 100644 index 000000000000..9280f93bac89 --- /dev/null +++ b/net-wireless/bluez/files/bluetooth-init.d-r1 @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r1,v 1.1 2012/01/09 23:01:55 pacho Exp $ + +depend() { + after coldplug + need dbus localmount hostname +} + +start() { + ebegin "Udev coldplug of bluetooth devices" + udevadm trigger --subsystem-match=bluetooth --action=add + eend $? +} + +stop() { + return 0 +} |