View Single Post
Banned | Posts: 778 | Thanked: 337 times | Joined on Jun 2010
#117
hey.. uhmm.. how can i monitor the locked frequency?
and plus..

#!/bin/sh
brightness=$(cat /sys/class/backlight/acx565akm/brightness)
keyboard=$(cat /sys/devices/platform/gpio-switch/slide/state)
proximity=$(cat /sys/devices/platform/gpio-switch/proximity/state)

if [ "$brightness" == "0" ]; then
if [ "$keyboard" == "closed" ]; then
kernel-config load starving
kernel-config limits 125 500
echo 10 > /proc/sys/vm/vfs_cache_pressure
done
fi
fi

i removed the last 2 lines.. *dont ask why*
would the script be effected?