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 rfcomm" echo ">>> $ sudo add_service.sh <service_name>" } pre_remove() { for d in { bluetoothd,hidd,dund,pand,rfcomm } ; do if [ -d /var/service/${d} ] ; then remove_servcie.sh $d fi done }