Skip site navigation (1)Skip section navigation (2)
Date:      11 Oct 2001 12:39:14 +0100
From:      Wayne Pascoe <wayne.pascoe@ehsrealtime.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: AW: shutdown with power off ?
Message-ID:  <864rp6s8wt.fsf@pan.ehsrealtime.com>
In-Reply-To: <KIEEILJCLAIJNFGECHJOEEBKCCAA.js@jonsonn.de>
References:  <KIEEILJCLAIJNFGECHJOEEBKCCAA.js@jonsonn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 <wayne.pascoe@ehsrealtime.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864rp6s8wt.fsf>