[MacPorts] #33719: keep machines from sleep during port building
MacPorts
noreply at macports.org
Thu Mar 22 04:39:47 PDT 2012
#33719: keep machines from sleep during port building
------------------------------------------+---------------------------------
Reporter: drechsel@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: all
------------------------------------------+---------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/33719>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list