git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Power down/up bt and wl
[pandora-libraries.git]
/
testdata
/
scripts
/
op_power.sh
diff --git
a/testdata/scripts/op_power.sh
b/testdata/scripts/op_power.sh
index
98354b3
..
34bf376
100755
(executable)
--- a/
testdata/scripts/op_power.sh
+++ b/
testdata/scripts/op_power.sh
@@
-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