summaryrefslogtreecommitdiffstats
path: root/source.local/n/bluez/config/rc.bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'source.local/n/bluez/config/rc.bluetooth')
-rw-r--r--source.local/n/bluez/config/rc.bluetooth5
1 files changed, 2 insertions, 3 deletions
diff --git a/source.local/n/bluez/config/rc.bluetooth b/source.local/n/bluez/config/rc.bluetooth
index 12540d8..296c454 100644
--- a/source.local/n/bluez/config/rc.bluetooth
+++ b/source.local/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
}