| 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 |
pacho |
1.2 |
# $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 |
pacho |
1.1 |
|
| 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 |
|
|
}
|