Fedora Linux Support Community & Resources Center
Old 20th July 2012, 04:03 PM
defektz Offline
Registered User
Join Date: Jul 2012
Location: skåne
Posts: 1
systemd + rc.local

Got slightly insane when my cpu got stuck with 1.6 ghz (under heavy load)
So I installed cpufreq-utils from fedora16 beacuse it wasnt there for 17. GRR
Well when I got it working I needed a init script. And because of systemd. I needed to do,
create this file
put this into it..
Description=/etc/rc.local Compatibility

ExecStart=/bin/sh /etc/rc.local


systemctl enable rc-local.service
got some errors but it worked anyways....
systemctl start rc-local.servce

Im sure that it could be done another way. But I dont know how.
Hope it helped.

EDIT: also created the /etc/rc.local and put some stuff in it..
cpufreq-set -g performance
cpufreq-set -c 1 -g performance

EDIT2: updated my system and cpupower replaced cpufreq-utils
so one line works good.
cpupower frequency-set -g performance &

Last edited by defektz; 20th July 2012 at 04:22 PM.
Reply With Quote
Old 20th July 2012, 07:19 PM
Skull One Offline
Registered User
Join Date: Jun 2010
Location: Lost...
Posts: 1,300
Re: systemd + rc.local

There is a configuration file for cpupower: /etc/sysconfig/cpupower
And there is a service, so edit the configuration parameters, then
systemctl enable cpupower.service
That's all.
Reply With Quote

cpufreq, rclocal, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
halt.local / rc.local.shutdown for Fedora? flansuse Using Fedora 4 10th December 2010 11:40 AM
systemd? ssidhar F14 Development 5 29th September 2010 07:11 PM
Systemd + nfs mounts jvillain F16 Development 3 18th June 2010 04:13 AM
Sending mail to a 'local' user who is actually not local danscott Servers & Networking 0 28th February 2010 06:03 PM
How to block all local IP and allow certain local IP using IPTABLES to connect inet? laluvirtual Security and Privacy 5 29th June 2007 01:07 PM

Current GMT-time: 21:33 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat