Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 04:32:43 -0800 (PST)
From:      Yance Kowara <yance_kowara@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why doesn't Turn Off The Computer turn off the computer?
Message-ID:  <20060321123243.70610.qmail@web30302.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Vayu" <vayu@sklinks.com>
To: <freebsd-questions@freebsd.org>
Cc: "Malcolm Fitzgerald" <mfitzgerald@pacific.net.au>
Sent: Tuesday, March 21, 2006 5:36 PM
Subject: Re: Why doesn't Turn Off The Computer turn
off the computer?


> On Monday 20 March 2006 20:04, Kevin Kinsey wrote:
>> Malcolm Fitzgerald wrote:
>>
>> > When I log out and select "Turn off the computer"
it shuts
>> > down the system and leaves the machinery running,
displaying
>> > this message:
>> >
>> > "The operating system has halted.
>> > Please press any key to reboot."
>> >
>> > Pressing the power button fires up the system. I
have
>> > to hold the power button down for several seconds
to
>> > get a forced power-off or pull the plug.
>> >
>> > How do I setup BSD so that the command at the
login
>> > panel turns the machine off?
>> >
>> > Malcolm
>>
>>
>> It might be helpful to mention your windowing
>> system, but I doubt that it will make a lot of
difference.
>>
>> Most likely, FreeBSD doesn't "grok" your system's
>> ACPI.  What does "uname -a" say? (Let's establish
>> your OS version first).
>>
>
>
> I don't know about how your window system shuts
down, but from the command
> line I had the same problem.  I was using "shutdown
-h now" and it would 
> give
> me the same message that the system was halted,
press any key to reboot. 
> I
> later learned that "shutdown -p now" would shut the
power off as well. 
> Maybe
> your window system is doing the equivalent of -h
instead of -p.


Yes, strangely enough shutdown -h now in FreeBSD will
only halt the machine. 
halt -p will poweroff the box, and shutdown -p now
will also power off the 
box.

In Linux, shutdown -h now will power off the machine.


Yance. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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