From 6ec62c47a7bd1b0e5e1ef3266907038f4ce7c79d Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 19 Aug 2011 02:32:24 +0000
Subject: runit-scripts: make bluetoothd/run executable

---
 abs/core/runit-scripts/PKGBUILD                             | 2 +-
 abs/core/runit-scripts/runitscripts/services/bluetoothd/run | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 abs/core/runit-scripts/runitscripts/services/bluetoothd/run

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 028a93e..ebe0d20 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=2.1.1
-pkgrel=28
+pkgrel=29
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/bluetoothd/run b/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
old mode 100644
new mode 100755
index 7a92437..6e3f23d
--- a/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
+++ b/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
@@ -8,5 +8,7 @@
 
 [ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth
 
-    stat_runit "Starting bluetooth subsystem:"
-      exec /usr/sbin/bluetoothd -n
+/sbin/svwaitup -s 15 /service/dbus || exit 1
+stat_runit "Starting bluetooth subsystem:"
+
+exec /usr/sbin/bluetoothd -n
-- 
cgit v0.12