13 lines
325 B
Desktop File
13 lines
325 B
Desktop File
[Unit]
|
|
Description=disable intel boost
|
|
|
|
[Service]
|
|
Type=simple
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/bin/bash -c '/usr/bin/echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo'
|
|
ExecStop=/usr/bin/bash -c '/usr/bin/echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo'
|
|
#Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|