Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/scripts/details.php on line 649 FS#305 : [PATCH] bluetooth startup doesnt restore enabled state

OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity Low
  • Reported Version SuperZaxxon Final 1.53
Attached to Project: OpenPandora Main OS
Opened by Urja Rannikko - 24.11.2012
Last edited by Grazvydas - 24.11.2012

FS#305 - [PATCH] bluetooth startup doesnt restore enabled state

op_bluetooth.sh doesnt remember to call op_bluetooth_work.sh in the startup case. Patch inlined here (maybe broken, but for fast reading) and behind link: http://urjaman.dyndns.info/bluetooth-startup-fix.patch --- op_bluetooth.sh.org 2012-11-24 01:54:53.000000000 +0000 +++ op_bluetooth.sh 2012-11-24 02:06:51.000000000 +0000 @@ -7,8 +7,13 @@ cd "$HOME" if [ "$1" = "startup" ]; then - [ -f "$LOCK" ] && sudo /usr/sbin/hciconfig "$INTERFACE" up pscan 1>/dev/null && sudo /usr/sbin/bluetoothd || echo "Bluetooth: User has not enabled Bluetooth." - + if [ -f "$LOCK" ]; then + sudo /usr/pandora/scripts/op_bluetooth_work.sh 1 + INTERFACE="`hciconfig | grep "^hci" | cut -d ':' -f 1`" + sudo /usr/sbin/hciconfig "$INTERFACE" up pscan 1>/dev/null && sudo /usr/sbin/bluetoothd + else + echo "Bluetooth: User has not enabled Bluetooth." + fi else # Figure out if Bluetooth is running or not
Closed by  Grazvydas
24.11.2012 20:36
Reason for closing:  Fixed
Additional comments about closing:  applied and pushed out.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing