diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2006-08-24 18:02:25 +0000 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2006-08-24 18:02:25 +0000 |
commit | ddae175d473eadf224d0514f40e5ae3a2d9f21d6 (patch) | |
tree | 991e369d9f0634eef6e82021287f2c880cd33d1f /packages/gpe-bluetooth/files | |
parent | e18fa6d0854c3c5eb5744ffcd731a631795dda8e (diff) |
gpe-bluetooth-0.54: add BTS support to hciattach script
Diffstat (limited to 'packages/gpe-bluetooth/files')
-rw-r--r-- | packages/gpe-bluetooth/files/hciattach-bts.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gpe-bluetooth/files/hciattach-bts.patch b/packages/gpe-bluetooth/files/hciattach-bts.patch new file mode 100644 index 0000000000..aeff8b02b1 --- /dev/null +++ b/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 |