diff --git a/system-units/disable-turbo-boost.service b/system-units/disable-turbo-boost.service new file mode 100644 index 0000000..b09e888 --- /dev/null +++ b/system-units/disable-turbo-boost.service @@ -0,0 +1,10 @@ +[Unit] +Description=Disable Turbo Boost on Intel CPU + +[Service] +ExecStart=/bin/sh -c "/usr/bin/echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo" +ExecStop=/bin/sh -c "/usr/bin/echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo" +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target diff --git a/rnetworking.service b/system-units/rnetworking.service similarity index 100% rename from rnetworking.service rename to system-units/rnetworking.service