diff options
Diffstat (limited to 'abs/extra-testing/bluez/run.hid2hci')
-rw-r--r-- | abs/extra-testing/bluez/run.hid2hci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra-testing/bluez/run.hid2hci b/abs/extra-testing/bluez/run.hid2hci new file mode 100644 index 0000000..6ef1f47 --- /dev/null +++ b/abs/extra-testing/bluez/run.hid2hci @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +svwaitup 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting Bluetooth HID to HCI mode switching utility" + /usr/bin/hid2hci --tohci > /dev/null 2>&1 || true + /sbin/sv down . |