From owner-freebsd-mobile Wed Jan 13 14:20:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA11718 for freebsd-mobile-outgoing; Wed, 13 Jan 1999 14:20:20 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11708 for ; Wed, 13 Jan 1999 14:20:18 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id OAA01544; Wed, 13 Jan 1999 14:14:17 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901132214.OAA01544@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Colin Eric Johnson cc: Tim Kientzle , mobile@FreeBSD.ORG Subject: Re: APM power-off code In-reply-to: Your message of "Wed, 13 Jan 1999 14:49:36 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 14:14:17 -0800 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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