View Single Post
Posts: 48 | Thanked: 23 times | Joined on Feb 2010
#29
i did the following thing in xterminal without going in to sudo gainroot

echo "#!/bin/sh" > oc.sh

echo "sudo gainroot; echo 124999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; echo 899999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;" >> oc.sh

chmod +x oc.sh



is it going to work when i write this command in xterm

./oc.sh

EDIT: i tried this with the ./oc.sh command with and without sudo gainroot but an error is shown with " permission denied"

can some body point oit my mistake, please.

Last edited by mnaveed; 2010-04-15 at 05:02.