summaryrefslogtreecommitdiffstats
path: root/abs/extra/bluez/run.pand
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/bluez/run.pand')
-rw-r--r--abs/extra/bluez/run.pand14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/bluez/run.pand b/abs/extra/bluez/run.pand
new file mode 100644
index 0000000..ab15ef6
--- /dev/null
+++ b/abs/extra/bluez/run.pand
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# Start/stop the Bluetooth daemons
+#
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth
+
+svwaitup -s 3 /var/service/bluetoothd || exit 1
+
+ stat_runit "Starting BlueZ Bluetooth PAN daemon"
+ exec /usr/bin/pand -n -s