Debian Codegraph @

etc/turboboost.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -eu
3
4 usagescip-shell shell shell-project 0.0.0 usage().() {
5 echoscip-shell system . . echo. "USAGE: $0 <on|off>" ; exit 111
6 }
7
8 if [scip-shell system . . `[`. "$#" -eq 0 ]; then
9 usagescip-shell shell shell-project 0.0.0 usage().
10 fi
11
12 case $1 in
13 on) echoscip-shell system . . echo. 0 > /sys/devices/system/cpu/intel_pstate/no_turboscip-shell filesystem . . `/sys/devices/system/cpu/intel_pstate/no_turbo`. ;;
14 off) echoscip-shell system . . echo. 1 > /sys/devices/system/cpu/intel_pstate/no_turboscip-shell filesystem . . `/sys/devices/system/cpu/intel_pstate/no_turbo`. ;;
15 *) usagescip-shell shell shell-project 0.0.0 usage().
16 esac