diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-04-01 23:28:58 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-04-01 23:28:58 (GMT) |
commit | 71fef603911d15fd30b1033e565aecb01c4a1c11 (patch) | |
tree | b78b30f64f69f6361f4385a2df8560882b328c93 /abs/extra-testing/bluez/run.sdpd | |
parent | e529a6ff6ddfdacdb63591fbee673a970f531d05 (diff) | |
download | linhes_pkgbuild-71fef603911d15fd30b1033e565aecb01c4a1c11.zip linhes_pkgbuild-71fef603911d15fd30b1033e565aecb01c4a1c11.tar.gz linhes_pkgbuild-71fef603911d15fd30b1033e565aecb01c4a1c11.tar.bz2 |
bluez: Add runit support. Needs testing.
Ref #676
Diffstat (limited to 'abs/extra-testing/bluez/run.sdpd')
-rw-r--r-- | abs/extra-testing/bluez/run.sdpd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra-testing/bluez/run.sdpd b/abs/extra-testing/bluez/run.sdpd new file mode 100644 index 0000000..aff51ac --- /dev/null +++ b/abs/extra-testing/bluez/run.sdpd @@ -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 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting bluetooth SDP daemon" + exec /usr/bin/sdpd -n |