]> git.openpandora.org Git - pandora-libraries.git/commitdiff
Power down/up bt and wl
authorvimacs <vimacs@pndtest>
Thu, 18 Feb 2010 15:22:01 +0000 (16:22 +0100)
committervimacs <vimacs@pndtest>
Thu, 18 Feb 2010 15:22:01 +0000 (16:22 +0100)
modified:   testdata/scripts/op_power.sh

testdata/scripts/op_power.sh

index 98354b3f4f300b8a76dbbb25c6baaead46ed0b35..34bf3762d34a6bbf7b1fcec76fda4c27f94f23ff 100755 (executable)
@@ -24,6 +24,8 @@ if [ "$1" -le "3" ]; then # button was pressed 1-3sec, "suspend"
     else
       echo 500 > /proc/pandora/cpu_mhz_max
     fi
+    hciconfig hci0 up
+    /etc/init.d/S30wlxxx-init start
     pidlist=$(pstree -lpA | grep pnd_run.sh | sed -ne 's/.*(\([0-9]\+\))/\1/p')
     for PID in $pidlist
     do