summaryrefslogtreecommitdiff
path: root/source/n/bluez/config/rc.bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bluez/config/rc.bluetooth')
-rw-r--r--source/n/bluez/config/rc.bluetooth5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/n/bluez/config/rc.bluetooth b/source/n/bluez/config/rc.bluetooth
index 12540d83..296c4542 100644
--- a/source/n/bluez/config/rc.bluetooth
+++ b/source/n/bluez/config/rc.bluetooth
@@ -1,12 +1,11 @@
#!/bin/sh
bluez_start() {
- # bluetoothd requires dbus, but dbus isn't started early enough during
- # system boot, so we have to re-trigger the events now
- udevadm trigger --subsystem-match=bluetooth --action=add
+ /usr/sbin/bluetoothd
}
bluez_stop() {
+ udevadm trigger --subsystem-match=bluetooth --action=remove
pkill -TERM bluetoothd 1>/dev/null 2>/dev/null
}