imac sleep

Norberto Quintanar yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 17 07:28:01 2004


--- Ben Buchanan <ben@buchanan.homedns.org> wrote:
> Is it possible to make an imac DV go to sleep under YDL 3.0.1 like
> it 
> does under osX? If so how?
> Thanks
> Ben Buchanan

Try this, it uses some functions from pmud - which is for powerbooks
- but I have had some success with on desktops.

As su or root:

/sbin/snooze -f from a console 

The snooze command puts your computer to sleep, it must be ran as
root to function properly. 

If you want all users to be able to run snooze you can do this: 

su # become root 
ln -s /sbin/snooze /usr/bin/snooze # put a link to snooze in a user's
path 
chmod +s /sbin/snooze # make snooze suid 

If for some reason, pmud is not working right, or you need to go to
sleep very fast, you can run sleep -f. This will not spin down the
disk or get you the full powersaving abilities. 


Good luck!

Norberto




	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail