From owner-freebsd-mobile Sat Jul 8 23:47:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 3794C37C106 for ; Sat, 8 Jul 2000 23:47:46 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id CAA25452; Sun, 9 Jul 2000 02:46:35 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Sun, 9 Jul 2000 02:46:35 -0400 (EDT) From: Adam To: Brooks Davis Cc: Marcio Rosa da Silva , FreeBSD-mobile Subject: Re: Shutdown and turn-off In-Reply-To: <20000708173611.A26004@orion.ac.hmc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 8 Jul 2000, Brooks Davis wrote: >On Sat, Jul 08, 2000 at 09:26:19PM +0000, Marcio Rosa da Silva wrote: >> How can I make FreeBSD turn-off my computer after a shutdown? When I >> shutdown the notebook, the system prints a message asking to press some >> key to reboot (if I use shutdown -h or halt) and don't turn-off the >> computer. >> >> I know this works because it works with Linux on the same machine, but I'm >> switching to FreeBSD (which I use on my desktop also). > >You want to use the -p argument to shutdown. It didn't work for me >under 3.x but it did under 4.0 and does under current. > >-- Brooks Also make sure apm is in the kernel, not disabled, (enable with boot -c if you dont feel like recompiling the kernel), and apm is enabled in /etc/rc.conf or you run apm -e (I think.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message