Re: /etc/tmpfiles.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux