From owner-freebsd-questions Sun May 19 14:26:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.mbox.com.au (203-134-146-019.cust.pth.iprimus.net.au [203.134.146.19]) by hub.freebsd.org (Postfix) with ESMTP id 6B0E837B403 for ; Sun, 19 May 2002 14:26:30 -0700 (PDT) Received: from nms2.mbox.com.au (webmail.mbox.com.au [192.168.20.4]) by smtp2.mbox.com.au (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0GWD0076TNBN1D@smtp2.mbox.com.au> for freebsd-questions@FreeBSD.ORG; Mon, 20 May 2002 05:21:23 +0800 (WST) Received: from mbox.com.au ([127.0.0.1]) by nms2.mbox.com.au (Netscape Messaging Server 4.15) with ESMTP id GWDNEE03.IBX for ; Mon, 20 May 2002 05:23:02 +0800 Date: Mon, 20 May 2002 07:23:02 +1000 From: BSD Freak Subject: Intercepting ATX power switch To: FreeBSD Questions Message-id: <55dad556061f.56061f55dad5@mbox.com.au> MIME-version: 1.0 X-Mailer: Netscape Webmail Content-type: text/plain; charset=us-ascii Content-language: en Content-disposition: inline Content-transfer-encoding: 7BIT X-Accept-Language: en Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi everyone, I have compiled my 4.5 kernel with the "device apm" option and enabled APM in rc.conf. The "shutdown -p now" command works well and powers off the machine as it is supposed to. Now what I *REALLY* need is to intercept the ATX power switch so that the machine does a proper shutdown when the ATX power switch is hit (the way Win2K does). Can anyone help me with this one ..... please. :-) Thanks in advance..... --------------------------------------------------------------------- NEW to mBox, receive faxes to any email address! Find out more http://www.mbox.com.au/fax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message