summaryrefslogtreecommitdiffstats
path: root/abs/extra/bluez/bluez.install
blob: 30bd262691ed895a62ead46378214057557046b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}