summaryrefslogtreecommitdiff
path: root/packaging/bluetooth.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/bluetooth.sh')
-rw-r--r--packaging/bluetooth.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/bluetooth.sh b/packaging/bluetooth.sh
new file mode 100644
index 00000000..8cec6360
--- /dev/null
+++ b/packaging/bluetooth.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+BLUETOOTH_CONFIG=/etc/sysconfig/bluetooth
+test -r $BLUETOOTH_CONFIG && . $BLUETOOTH_CONFIG
+
+if [ "$START_BLUETOOTHD" = "no" ]; then
+ exit 0
+fi
+
+exec /usr/sbin/bluetoothd --udev