echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
cat > /etc/event.d/ondemand-config << EOF start on started xsession console output script echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate end script EOF