From owner-freebsd-hackers Mon Mar 9 14:02:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10767 for freebsd-hackers-outgoing; Mon, 9 Mar 1998 14:02:39 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10583 for ; Mon, 9 Mar 1998 14:01:50 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id OAA10190; Mon, 9 Mar 1998 14:01:20 -0800 (PST) (envelope-from jdp) Message-Id: <199803092201.OAA10190@austin.polstra.com> To: walter@fortean.com Subject: Re: APM power off (patch) In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Mon, 09 Mar 1998 14:01:20 -0800 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Bruce M. Walter wrote: > > The kernel poweroff stuff is important for my UPS work and patches have > been submitted via send-pr for a shutdown queue for a while. I don't > believe they've been committed though. We really need a standard (and > safe) way of requesting the kernel to poweroff the machine. Well, "halt -p" has been around for decades, even if it doesn't currently work. I'd suggest looking at the source for it and seeing what it does. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message