blob: aeff8b02b1acacc88802a36e0430a4241515987e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- gpe-bluetooth-0.54/hciattach.sh.orig 2006-08-20 15:04:05.341384325 +0200
+++ gpe-bluetooth-0.54/hciattach.sh 2006-08-20 15:05:04.629179674 +0200
@@ -2,8 +2,12 @@
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 $BTS
- exec /sbin/hciattach -n $BLUETOOTH_PORT $BLUETOOTH_PROTOCOL $BLUETOOTH_SPEED
else
echo "Bluetooth not configured"
exit 1
|