17 Sep
2012
17 Sep
'12
4:17 p.m.
Hello.
Does that means that I need to move all the content from /etc/rc.local to /etc/tmpfiles.d? For example this is my actual /etc/rc.local:
Only if you no longer boot with initscripts.
# CPUFREQ for i in 0 1 2 3; do cpufreq-set -c $i -g powersave; done ## sets powersave cpufreq governor for all CPU cores #echo -n 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold echo -n 20 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor (...) If this is the case, how do you guys would convert the FOR loop!?
I think that tempfiles can not execute commands, only create/write to files. If you want to run some commands, you should probably create some custom unit files. Regards, Chris Sakalis