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/bluez.install | |
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/bluez.install')
-rw-r--r-- | abs/extra-testing/bluez/bluez.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra-testing/bluez/bluez.install b/abs/extra-testing/bluez/bluez.install new file mode 100644 index 0000000..30bd262 --- /dev/null +++ b/abs/extra-testing/bluez/bluez.install @@ -0,0 +1,15 @@ +post_install() { + add_service.sh bluetoothd + echo ">>> Only the bluetoothd daemon is started by default." + echo ">>> You can optionally add the following as required:" + echo ">>> hidd dund pand sdpd rfcomm hid2hci" + echo ">>> $ sudo add_service.sh <service_name>" +} + +pre_remove() { + for d in { bluetoothd,hidd,dund,pand,sdpd,rfcomm,hid2hci } ; do + if [ -d /var/service/${d} ] ; then + remove_servcie.sh $d + fi + done +} |