LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-29-2003, 12:52 AM   #1
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Rep: Reputation: 15
Making a script to turn on/off laptop power controll


Was wondering if someone could help me make a bash script that could prompt me if I wanted to turn on/off my power saving options during boot or login. I really appreciate the help.
 
Old 11-29-2003, 01:51 AM   #2
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Original Poster
Rep: Reputation: 15
How about just modifying apm so that it will load, but able to turn it off temp. at the command prompt.
 
Old 11-29-2003, 03:13 AM   #3
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
modprobe -r apm
 
Old 11-29-2003, 03:16 AM   #4
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Original Poster
Rep: Reputation: 15
can't do that...it says device is being used
 
  


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
turn off doesn't really turn and power off pcandpc Mandriva 11 05-30-2005 04:22 PM
when i try to take the power plug out from dell laptop the the screen turn pick Paxmaster Linux - Laptop and Netbook 1 11-13-2004 04:57 PM
Can not turn off power with Slackware 10 caovankhanhvn Linux - Laptop and Netbook 6 08-13-2004 08:49 PM
Mandrake 9.2 does not turn off power at shutdown dancro Mandriva 12 03-19-2004 07:41 AM
Turn on power through network? trees Linux - Networking 6 01-21-2004 02:25 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration