summaryrefslogtreecommitdiffstats
path: root/cpufreq.service
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq.service')
-rw-r--r--cpufreq.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpufreq.service b/cpufreq.service
new file mode 100644
index 0000000..92111c0
--- /dev/null
+++ b/cpufreq.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A script for an init system to set CPU frequency settings
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/cpufreq start
+ExecStop=/usr/bin/cpufreq stop
+ExecReload=/usr/bin/cpufreq reload
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target