Date: Wed, 13 Jan 1999 14:14:17 -0800 From: Mike Smith <mike@smith.net.au> To: Colin Eric Johnson <colinj@cs.unm.edu> Cc: Tim Kientzle <kientzle@acm.org>, mobile@FreeBSD.ORG Subject: Re: APM power-off code Message-ID: <199901132214.OAA01544@dingo.cdrom.com> In-Reply-To: Your message of "Wed, 13 Jan 1999 14:49:36 MST." <Pine.LNX.4.05.9901131448430.17021-100000@shiva.cs.unm.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, 12 Jan 1999, Tim Kientzle wrote: > > > Nate suggested I forward this to "mobile@freebsd.org". > > These are some patches I've used with both 2.2.5 and 2.2.8. > > They modify the shutdown code to actually turn off > > power on a system shutdown. I personally use it > > with my desktop machine; I find it quite convenient > > to type "shutdown" and walk away knowing that the > > machine will, in fact, turn itself off when it's > > done cleaning up. > > > > - Tim Kientzle > > > > P.S. This is probably not the best approach. It > > might be better to add a "register_poweroff_func()" > > function to kern_shutdown, and have the APM code > > register a power off function if an APM BIOS was > > found. > > > > P.P.S. I don't watch these lists, so email is > > best: kientzle@acm.org > > Any chance this might get folded into the next release of FreeBSD (like > 3.1)? Sort of like "shutdown -p"? 8) We've been powering off on halt for a long time now. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901132214.OAA01544>