From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 15 17:07:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A1861065671 for ; Sun, 15 Jun 2008 17:07:20 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2AA658FC32 for ; Sun, 15 Jun 2008 17:07:20 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from desktop.home.serebryakov.spb.ru (unknown [89.163.10.141]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 2F62513DF4A; Sun, 15 Jun 2008 20:47:29 +0400 (MSD) Date: Sun, 15 Jun 2008 20:47:38 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v3.99.3) Professional X-Priority: 3 (Normal) Message-ID: <31567013.20080615204738@serebryakov.spb.ru> To: Erik Trulsson In-Reply-To: <20080615162247.GA50613@owl.midgard.homeip.net> References: <1283529703.20080615190810@serebryakov.spb.ru> <20080615162247.GA50613@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re[2]: UPS shutdown with `sysutils/nut': where should I place "power off" command to UPS? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 17:07:20 -0000 Hello, Erik. You wrote 15 =E8=FE=ED=FF 2008 =E3., 20:22:47: > You need an UPS that can accept a signal that says 'shut down in 20 secon= ds > time' (the value 20 may have to be adjusted) and send that as the last th= ing > in the shutdown scripts, which should cause the UPS to shutdown shortly > after 'shutdown -p' has turned off the computer. It seems, that my Ippon Smart Power Pro/1000 understand such commands: it can turn off load after 2 minutes, and I'll try to change this value. Great. --=20 // Black Lion AKA Lev Serebryakov