From 4c32ce280f9257e80c0b8203981da431c626d972 Mon Sep 17 00:00:00 2001 From: skeezix Date: Fri, 26 Feb 2010 21:15:45 -0500 Subject: [PATCH] I too can mistype! --- testdata/scripts/pnd_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index 927e56c..8a57e67 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 $(/proc/pandora/cpu_mhz_max) ]; then + if [ ! $cpuspeed -eq $(cat /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 -- 2.39.5