--- gpe-bluetooth-0.45/hciattach.sh.orig 2004-11-19 01:32:17 +0100 +++ gpe-bluetooth-0.45/hciattach.sh 2005-09-05 22:23:24 +0200 @@ -2,8 +2,11 @@ if [ -f /etc/sysconfig/bluetooth ]; then . /etc/sysconfig/bluetooth + if [ -f "$BLUETOOTH_SCRIPT" ]; then + BTS="-S $BLUETOOTH_SCRIPT" + fi - exec /sbin/hciattach -n $BLUETOOTH_PORT $BLUETOOTH_PROTOCOL $BLUETOOTH_SPEED + exec /sbin/hciattach -n $BLUETOOTH_PORT $BLUETOOTH_PROTOCOL $BLUETOOTH_SPEED $BTS else echo "Bluetooth not configured" exit 1