From 331d78ddff6ce1b0d4c15eacc3d160e60caa3b99 Mon Sep 17 00:00:00 2001 From: vimacs Date: Thu, 18 Feb 2010 17:27:56 +0100 Subject: [PATCH] Proper wl initfile name modified: testdata/scripts/op_power.sh --- testdata/scripts/op_power.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testdata/scripts/op_power.sh b/testdata/scripts/op_power.sh index 34bf376..a4bf57b 100755 --- a/testdata/scripts/op_power.sh +++ b/testdata/scripts/op_power.sh @@ -25,7 +25,7 @@ if [ "$1" -le "3" ]; then # button was pressed 1-3sec, "suspend" echo 500 > /proc/pandora/cpu_mhz_max fi hciconfig hci0 up - /etc/init.d/S30wlxxx-init start + /etc/init.d/S30wlxxx-i/etc/init.d/wl1251-init start pidlist=$(pstree -lpA | grep pnd_run.sh | sed -ne 's/.*(\([0-9]\+\))/\1/p') for PID in $pidlist do @@ -42,7 +42,7 @@ if [ "$1" -le "3" ]; then # button was pressed 1-3sec, "suspend" kill -19 $PID #send SIGSTOP done hciconfig hci0 down - /etc/init.d/S30wlxxx-init stop + /etc/init.d/S30wlxxx-i/etc/init.d/wl1251-init stop echo 0 > /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness echo 14 > /proc/pandora/cpu_mhz_max fi -- 2.39.5