blob: 1348f51da34d5bbcf5fb5e3917f7d68034aa0ce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
variant: fcos
version: 1.5.0
systemd:
units:
- name: cpu-governor.service
enable: true
contents: |
[Unit]
Description=Enable CPU power saving
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/modprobe cpufreq_conservative
ExecStart=/usr/bin/sh -c '/usr/bin/echo "ondemand" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
[Install]
WantedBy=multi-user.target
|