forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-08-21 fc437ccf3419c424092701f3d883215fa4552a8b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
 
case "$1" in
   start)
       sleep 5 && echo ondemand > /sys/bus/cpu/devices/cpu0/cpufreq/scaling_governor && echo "set governor ondemand ok" &
       ;;
   stop)
       ;;
   *)
       echo "Usage: $0 {start|stop}"
       exit 1
       ;;
esac
exit 0