aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluez/bluetooth.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-03 13:59:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-03 15:20:01 +0200
commit48d9ebf65fd57f1c2257c88017886d8777a3826f (patch)
tree4ab01f531a5d3ec087754e52423fe41c8cf4005a /main/bluez/bluetooth.initd
parent8e58fef0213394503965faf20d69f661aa9109e4 (diff)
main/bluetooth: do not use hciconfig at boot
the hciconfig is a deprecated tool. Don't depend on it.
Diffstat (limited to 'main/bluez/bluetooth.initd')
-rw-r--r--main/bluez/bluetooth.initd14
1 files changed, 1 insertions, 13 deletions
diff --git a/main/bluez/bluetooth.initd b/main/bluez/bluetooth.initd
index e1d95a87349..ee40153ec88 100644
--- a/main/bluez/bluetooth.initd
+++ b/main/bluez/bluetooth.initd
@@ -8,18 +8,6 @@ start_stop_daemon_args="--background --make-pidfile"
depend() {
after coldplug
- 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
+ need dbus localmount hostname
}