From owner-freebsd-stable Thu Jul 20 7:54:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 9620637BC93 for ; Thu, 20 Jul 2000 07:54:30 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p15-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.80]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id XAA01170; Thu, 20 Jul 2000 23:53:48 +0900 (JST) Message-ID: <3977128E.AC694E8E@newsguy.com> Date: Thu, 20 Jul 2000 23:54:06 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Fred Clift Cc: simond@irrelevant.org, Mario Sergio Fujikawa Ferreira , freebsd-stable@FreeBSD.ORG Subject: Re: shutdown -p == shutdown -h ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@a.crazy.bsdconspiracy.net "There is no spoon." -- Kiki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message