Re: Automatic power-on
On Sun, Sep 01, 2002 at 02:23:27AM +0100, Bastien Nocera wrote:
> On Sat, 2002-07-27 at 22:03, Jonas Oberg wrote:
> > A few months back there was a discussion around the (proposed?)
> > pmac-utils utility pack. One of the features that someone wanted to
> > put in there was a way to put the Mac in "server mode".
> It used to be at http://www.lockerby.net/~mike/pmac_svrmode but the page
> is long gone, google doesn't have anything, nor does the wayback machine
> (web.archive.org). If anybody has this file handy, could she/he post it
> in this mailing list. I guess many of us would appreciate.
On CUDA-based PowerMacs, this will set it to "file server mode" (i.e.,
automatically reboot upon restoration of power):
echo -ne '\001\023\001' > /dev/adb
This Apple tech note was helpful in finding the magic '\023' that
enables "server mode":
http://developer.apple.com/technotes/tn/tn1079.html
It looks like sending "\001\023\000" should do the reverse, telling it
to be a "standard personal computer" rather than a "file server", but
I haven't had the need to test this.
--
Eric C. Cooper e c c @ c m u . e d u
Reply to: