#!/bin/sh # # /etc/rc.d/powernowd: start/stop powernowd # case $1 in start) /usr/sbin/powernowd -n -s 180000 -l 5 -u 50 -m 3 ;; stop) /usr/bin/killall -TERM /usr/sbin/powernowd echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ;; restart) $0 stop sleep 2 $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac # End of file