diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-02-26 01:55:52 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-02-26 01:55:52 (GMT) |
commit | 647b0432f2f05ce0596c7333e9e0c0400a6f40f3 (patch) | |
tree | a1d8b9193dcb564919d24fed75598ad078ff32dc /abs/core/runit-scripts/runitscripts/services/rfcomm | |
parent | 1b5d8accc28f1822918843f31f75d84f5fc5e80f (diff) | |
download | linhes_pkgbuild-647b0432f2f05ce0596c7333e9e0c0400a6f40f3.zip linhes_pkgbuild-647b0432f2f05ce0596c7333e9e0c0400a6f40f3.tar.gz linhes_pkgbuild-647b0432f2f05ce0596c7333e9e0c0400a6f40f3.tar.bz2 |
runit-scripts: Add run scripts from bluez pkg
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/rfcomm')
-rw-r--r-- | abs/core/runit-scripts/runitscripts/services/rfcomm/run | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/rfcomm/run b/abs/core/runit-scripts/runitscripts/services/rfcomm/run new file mode 100644 index 0000000..8bc619b --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/rfcomm/run @@ -0,0 +1,17 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" + +svwaitup -s 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting RFCOMM for the bluetooth subsystem" + /usr/bin/rfcomm -f $RFCOMM_CONFIG bind all + /sbin/sv down . |