From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 06:22:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8F6B16A468 for ; Tue, 10 Jul 2007 06:22:12 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id C085213C4AE for ; Tue, 10 Jul 2007 06:22:11 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-AV: E=Sophos;i="4.16,520,1175437800"; d="scan'208";a="155026190" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail01.adl2.internode.on.net with ESMTP; 10 Jul 2007 15:52:07 +0930 Message-ID: <4693258E.1060806@careytech.com.au> Date: Tue, 10 Jul 2007 16:22:06 +1000 From: Ivan Carey User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: ivan@careytech.com.au References: <469312B8.80202@careytech.com.au> <20070710050808.GA61150@owl.midgard.homeip.net> <46931C7B.7080604@careytech.com.au> In-Reply-To: <46931C7B.7080604@careytech.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Turn off server when shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 06:22:12 -0000 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.