Init
This commit is contained in:
parent
fa80d14dba
commit
3847f18792
11 changed files with 536 additions and 1 deletions
14
files/ondemand.service
Normal file
14
files/ondemand.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Set the CPU Frequency Scaling governor
|
||||
ConditionVirtualization=no
|
||||
ConditionPathExists=/sys/devices/system/cpu/online
|
||||
# Don't run if we're going to start an Android LXC container on Ubuntu Touch
|
||||
ConditionPathExists=!/etc/init/lxc-android-config.conf
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
ExecStart=/lib/systemd/set-cpufreq-performance
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in a new issue