summaryrefslogtreecommitdiffstats
path: root/abs/extra/bluez/bluez.install
blob: 9cfe79356f44d9674723d5c51202f10d51f142ea (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_service.sh $d
      fi
    done
}