aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluez/bluetooth.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-03 07:50:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-03 07:50:58 +0000
commitb689da87298cbd9e2be38c35a8548fe9f97e52d8 (patch)
tree125a0c009b3ad410ff7883e7d4cbf2fc2a08f501 /main/bluez/bluetooth.initd
parentb4097755f3c8a80331fb5298e1dbdd44f89b5e74 (diff)
downloadaports-b689da87298cbd9e2be38c35a8548fe9f97e52d8.tar.gz
aports-b689da87298cbd9e2be38c35a8548fe9f97e52d8.tar.bz2
aports-b689da87298cbd9e2be38c35a8548fe9f97e52d8.tar.xz
main/bluez: update init.d scripts, split hid2hci
the udev rules to start up bluetoothd rules have been removed from upstream. http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e
Diffstat (limited to 'main/bluez/bluetooth.initd')
-rw-r--r--main/bluez/bluetooth.initd28
1 files changed, 3 insertions, 25 deletions
diff --git a/main/bluez/bluetooth.initd b/main/bluez/bluetooth.initd
index ef25720bf6..d9d5d9c917 100644
--- a/main/bluez/bluetooth.initd
+++ b/main/bluez/bluetooth.initd
@@ -1,32 +1,10 @@
#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.1 2010/02/01 19:47:46 pacho Exp $
+
+name="Bluetooth"
+command="/usr/sbin/bluetoothd"
depend() {
after coldplug
need dbus localmount
}
-start() {
- ebegin "Starting Bluetooth"
-
- if [ -x /sbin/udevadm ]; then
- udevadm trigger --subsystem-match=bluetooth --action=add
- eend $?
- fi
-
- if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
- if [ -f "${RFCOMM_CONFIG}" ]; then
- /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all
- else
- ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
- fi
- fi
- eend $?
-}
-
-stop() {
- ebegin "Shutting down Bluetooth"
- eend 0
-}