aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bluez5/bluetooth.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bluez5/bluetooth.initd')
-rw-r--r--testing/bluez5/bluetooth.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/bluez5/bluetooth.initd b/testing/bluez5/bluetooth.initd
index 8196556680..a3eab5628d 100644
--- a/testing/bluez5/bluetooth.initd
+++ b/testing/bluez5/bluetooth.initd
@@ -11,3 +11,15 @@ depend() {
need dbus localmount
}
+start_post() {
+ local adapter
+ eindent
+ for adapter in $AUTO_ENABLE; do
+ ebegin "Enabling $adapter"
+ hciconfig $adapter up
+ eend
+ done
+ eoutdent
+ return 0
+}
+