From owner-freebsd-questions Wed Feb 12 0:47:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEE0837B401 for ; Wed, 12 Feb 2003 00:47:55 -0800 (PST) Received: from mail.broadpark.no (mail2.broadpark.no [217.13.4.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 712D443FA3 for ; Wed, 12 Feb 2003 00:47:55 -0800 (PST) (envelope-from la3sg@sensewave.com) Received: from tove (217-13-29-172.dd.nextgentel.com [217.13.29.172]) by mail.broadpark.no (Postfix) with ESMTP id 148CA7868E; Wed, 12 Feb 2003 09:47:54 +0100 (MET) From: "Kjell" To: don_oles@able.com.ua Date: Wed, 12 Feb 2003 09:39:23 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: halt -p Reply-To: la3sg@sensewave.com Cc: freebsd-questions@FreeBSD.ORG Message-ID: <3E4A164B.18877.780939@localhost> References: <1947650200.20030211215001@able.com.ua> In-reply-to: <44r8ae7bwd.fsf@be-well.ilk.org> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 > Oles Hnatkevych writes: > > > Hello! > > > > I have 4.7 > > > > man page for halt says: > > > > -p The system will turn off the power if it can. This is of course > > likely to make reboot rather similar to halt. > > > > > > How I make it really work? > > ;-) > > I DO have ATX .... > > You need the kernel code for apm(4). > To enable shutdown -p to function, build the kernel with apm enabled: Comment out line with device apm0 and insert new line containing just device apm0 device apm0 Then insert into rc.conf apm_enable="YES" Kjell > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message