6 [ -f /etc
/conf.d
/rovclock
] && .
/etc
/conf.d
/rovclock
10 stat_busy
"Starting RadeonOverclock"
11 _CPU_SPEED
=`rovclock -i | tail -n 1 | sed 's/Core: \(.*\) MHz,.*/\1/'`
12 _MEM_SPEED
=`rovclock -i | tail -n 1 | sed 's/.*, Mem: \(.*\) MHz/\1/'`
13 echo 'CPU_FREQ='${_CPU_SPEED} > /var
/run
/rovclock
14 echo 'MEM_FREQ='${_MEM_SPEED}>> /var
/run
/rovclock
15 rovclock
-c ${CPU_FREQ} -m ${MEM_FREQ} > /dev
/null
17 if [ $?
-eq 0 ] ; then
25 stat_busy
"Stopping RadeonOverclock"
27 rovclock
-c ${CPU_FREQ} -m ${MEM_FREQ} > /dev
/null
28 if [ $?
-eq 0 ] ; then
40 echo "usage: $0 {start|stop|restart}"