summarylogtreecommitdiffstats
path: root/throttlectl
diff options
context:
space:
mode:
Diffstat (limited to 'throttlectl')
-rwxr-xr-xthrottlectl2
1 files changed, 2 insertions, 0 deletions
diff --git a/throttlectl b/throttlectl
index 1bd613f8fdc8..420373c882fd 100755
--- a/throttlectl
+++ b/throttlectl
@@ -278,9 +278,11 @@ while (( "$#" )); do
case "${1}" in
cut|powersave|start)
[[ -f /etc/throttle.d/powersave ]] && . /etc/throttle.d/powersave || config_help
+ printf "0" > /etc/throttle.d/systemstate
;;
full|performance|stop)
[[ -f /etc/throttle.d/performance ]] && . /etc/throttle.d/performance || config_help
+ printf "1" > /etc/throttle.d/systemstate
;;
esac