From owner-freebsd-questions Thu Oct 11 4:40:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 31E0337B403 for ; Thu, 11 Oct 2001 04:40:44 -0700 (PDT) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15reCh-0000du-01 for freebsd-questions@freebsd.org; Thu, 11 Oct 2001 12:40:43 +0100 Received: from waynep by pan.ehsrealtime.com with local (Exim 3.22 #1) id 15reBH-00019E-00 for freebsd-questions@freebsd.org; Thu, 11 Oct 2001 12:39:15 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: Re: AW: shutdown with power off ? References: Reply-To: wayne.pascoe@ehsrealtime.com Date: 11 Oct 2001 12:39:14 +0100 In-Reply-To: Message-ID: <864rp6s8wt.fsf@pan.ehsrealtime.com> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, > > > > I am a new user with FreeBSD-4.4 release, and was wondering how to > > poweroff my machine. I tried "halt -p" but it just halts and wants > > me to press a key so that it reboots. Can freebsd interact with > > APM and really turn the power off ? You need to enable apmd. To do this, in /etc/rc.conf add these lines: apmd_enable="YES" apmd_flags="-e 1 -d 1" After a reboot (or doing apmd -e 1 -d 1 from the prompt) shutdown -p now should power the machine down. HTH -- Wayne Pascoe Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message