Ticket #33719 (new enhancement)
keep machines from sleep during port building
|Reported by:||drechsel@…||Owned by:||macports-tickets@…|
|Keywords:||Cc:||cal@…, ryandesign@…, nonstop.server@…|
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 if nothing else is to do.
- Cc cal@… added
- Port all deleted
- Milestone set to MacPorts Future