noidle

Drechsel Wolf edv-e at verkehrsplanung.com
Thu Mar 22 01:00:34 PDT 2012


Hi everybody,

frequently I noticed that my iMac G5 will go to sleep during a time  
extensive build (gcc45 at the moment).

I googled and found some other people with that problem - and an easy  
solution:

> #!/bin/bash
> pmset noidle &
> ... do the work here ...
> kill %pmset
Wouldnt it be smart to put the noidle command at the very beginning of  
any build script - and the kill %pmset at the very ending.
I'd like the iMac to do the building - and then go to sleep after it's  
finished.
Yours,
Wolf 


More information about the macports-users mailing list