Turn off server when shutdown

Ivan Carey ivan at careytech.com.au
Tue Jul 10 06:22:12 UTC 2007


Ivan Carey wrote:
> Erik Trulsson wrote:
>> On Tue, Jul 10, 2007 at 03:01:44PM +1000, Ivan Carey wrote:
>>  
>>> Hello,
>>> I am using FreeBSD 6.2 Release
>>> When I run shutdown on my server it stays on and says:
>>> "The operating system has halted"
>>> "Please press any key to reboot"
>>>
>>> Is it possible to have the server turn off?
>>>
>>>     
>>
>> Yes, assuming the hardware supports it (which most modern hardware 
>> does.)
>> Just use 'shutdown -p' instead of plain 'shutdown'.
>>
>>
>>
>>
>>
>>   
> Is this function available via kdm also I am using an apc ups and 
> running apcupsd do you know of a setting here?
>
> Thanks,
> Ivan
>
>
Thanks to everyone, I have changed the kdm login manager to have 
/sbin/halt -p upon shutdown and modified the apcupsd apccontrol script 
to have the -p now option.

All is working as I would like.


More information about the freebsd-questions mailing list