summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch')
-rw-r--r--org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch b/org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch
new file mode 100644
index 0000000..aeff8b0
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpe-bluetooth/files/hciattach-bts.patch
@@ -0,0 +1,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