From owner-freebsd-stable Thu Jul 20 8: 4:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from bumper.jellybaby.net (bumper.jellybaby.net [194.159.247.1]) by hub.freebsd.org (Postfix) with ESMTP id A6EC237B821 for ; Thu, 20 Jul 2000 08:04:28 -0700 (PDT) (envelope-from simond@bumper.jellybaby.net) Received: (from simond@localhost) by bumper.jellybaby.net (8.9.2/8.9.2) id PAA35744; Thu, 20 Jul 2000 15:58:59 +0100 (BST) (envelope-from simond) Date: Thu, 20 Jul 2000 15:58:59 +0100 From: simond@irrelevant.org To: "Daniel C. Sobral" Cc: Fred Clift , Mario Sergio Fujikawa Ferreira , freebsd-stable@FreeBSD.ORG Subject: Re: shutdown -p == shutdown -h ? Message-ID: <20000720155859.D31268@irrelevant.org> References: <3977128E.AC694E8E@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3977128E.AC694E8E@newsguy.com>; from dcs@newsguy.com on Thu, Jul 20, 2000 at 11:54:06PM +0900 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jul 20, 2000 at 11:54:06PM +0900, Daniel C. Sobral wrote: > Fred Clift wrote: > > > > I noticed that -p and -h work the same (ie dont powerdown) when apmd isn't > > running on my toshiba 300CT laptop. If, however, I have apmd running > > correctly, then shutdown -p powers the box down and shutdown -h brings it > > to the point where it sasy 'it's ok to shut down your box now...' > > The most common cause for shutdown -p not turning off the power is use > of the default flags for apm in the kernel configuration. The default > flags are "safe" flags, which won't enable apm 2.x, which is required > for shutdown -p to function properly. The only flags I've used in my kernel config are device apm0 And shutdown -p did used to work. -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message