From: skeezix Date: Sat, 27 Feb 2010 02:03:00 +0000 (-0500) Subject: sleepyhead :) X-Git-Tag: Release-2010-05/1~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=commitdiff_plain;h=bc71f403ad20fb23151ed73b7c1bba9da53f575d sleepyhead :) --- diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index 835a13d..927e56c 100755 --- a/testdata/scripts/pnd_run.sh +++ b/testdata/scripts/pnd_run.sh @@ -120,7 +120,7 @@ if [ ! -d /mnt/utmp/$BASENAME ]; then sudo mkdir -p /mnt/utmp/$BASENAME; fi #uni #mount if [ ! $umount ]; then - if [ ! $cpuspeed -eq $(cat /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/max_brightness) ]; then + if [ ! $cpuspeed -eq $(/proc/pandora/cpu_mhz_max) ]; then gksu --message "$BASENAME wants to set the cpu speed to $cpuspeed, enter root password to allow" echo $cpuspeed > /proc/pandora/cpu_mhz_max fi #is the union already mounted? if not mount evrything, else launch the stuff