LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2012, 09:20 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
modprobe question


Gday. So i'm trying to configure my macbook pro with Gnu/Linux again. Last time i wasn't happy with the battery life and that seems to be my biggest issue again.
Anyways, i need to run these two commands.
Code:
modprobe acpi_cpufreq
modprobe cpufreq_ondemand
I can run them fine, but if i reboot, i need to run them again, how does one have these run each time i reboot.

I'm running Opensuse 12.2 if that's of any consequence

Thanks
 
Old 09-11-2012, 10:59 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,391

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
Put them in a script and set it to run at start-up using the KDE Session manager.

On the general topic of power saving, you may find something useful here:
http://www.lesswatts.org/
 
1 members found this post helpful.
Old 09-11-2012, 08:52 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Original Poster
Rep: Reputation: 166Reputation: 166
So there isn't a standard configuration file that usually gets edited to achieve this?

Thankyou very much for that websight, that'll be very helpful. It's been really awesome, while i've been configuring this mac, i've been finding tricks like the ones on that page, and once i'm done, many i can implement on my primary laptop too, which is my main work machine by the way. (dependent on laptops, not on the power grid)
 
Old 09-11-2012, 11:24 PM   #4
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Rep: Reputation: 3
i believe that the file you want is /etc/rc.d/rc.local
 
1 members found this post helpful.
Old 09-14-2012, 11:29 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,391

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
I'd forgotten rc.local! Using Linux is like living in a great city: no matter how long you've been there, you still need to get directions sometimes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about modprobe miros84 Linux - Newbie 13 12-28-2009 01:53 AM
modprobe question greplinux Linux - Newbie 2 04-09-2009 01:00 AM
modprobe question ethyrdude Debian 2 11-17-2006 04:52 PM
Need to un-modprobe question jbuckley2004 Linux - General 2 01-25-2006 03:01 PM
modprobe question littleking Slackware 8 12-04-2003 12:15 PM


All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration