#!/bin/sh

# set -e

# set the bt input profile ON

/sbin/set-bt-input on

# set up the arrow cursor

cp /usr/share/icons/default/cursors/transp.qole /usr/share/icons/default/cursors/transp

chmod a+w /usr/share/icons/default/cursors/transp
chmod a+w /usr/share/icons/default/cursors/arrow

# make the list of bt hid devices for the daemon

/usr/bin/make-bt-hid-list

# make the BT watch daemon start automatically

update-rc.d bt-hid-daemon start 99 1 2 3 4 5 . stop 99 0 6

exit 0