Hi guys!
Just installed Salix and cannot make my rc.local entries permanent - on reboot have to do them manually
Example
echo '1200000' > '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq'
echo '1200000' > '/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq'
Thanks!
[SOLVED] Execute rc.local at boot
[SOLVED] Execute rc.local at boot
Last edited by amaro on 20. May 2014, 09:09, edited 2 times in total.
Re: Execute rc.local at boot
rc.local is always executed at boot. Your problem is most probably that something else that is executed after rc.local is changing those back.
Try something like
so the change happens 1 min after rc.local is run.
Try something like
Code: Select all
sleep 60 && echo '1200000' > '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' &
sleep 60 && echo '1200000' > '/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq' &
Re: Execute rc.local at boot
Wrong permissions.
Working now.
Thanks!
Working now.
Thanks!