From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 13 Apr 2005 21:05:52 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Subject: Re: [devel] Re: apcupsd, =?koi8-r?Q?incomi?= =?koi8-r?Q?ng_=C9?= /etc/init.d/halt Message-ID: <20050413170552.GC27552@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <200504132020.30611.asy@altlinux.ru> <20050413153551.GP10513@osdn.org.ua> <200504132051.47766.asy@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZmUaFz6apKcXQszQ" Content-Disposition: inline In-Reply-To: <200504132051.47766.asy@altlinux.ru> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 17:05:55 -0000 Archived-At: List-Archive: List-Post: --ZmUaFz6apKcXQszQ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 13, 2005 at 08:51:47PM +0500, Sergey Y. Afonin wrote: > On Wednesday 13 April 2005 20:35, Michael Shigorin wrote: [...] > > =EF=D4=D3=D5=D4=D3=D4=D7=C9=C5 =D0=CF=C4=C4=C5=D2=D6=CB=C9 nut (=C9=CC= =C9 =CF=C2=CF=C2=DD=A3=CE=CE=CF=C7=CF =D3=C5=D2=D7=C9=D3=C1, =D2=C1=C2=CF= =D4=C1=C0=DD=C5=C7=CF > > =D3 UPS, =C4=A3=D2=C7=C1=D4=C5=CC=D8=CE=D9=CA =D3=CB=D2=C9=D0=D4 =C9 = =C2=C1=DA=CF=D7=D9=CA =CB=CF=CE=C6=C9=C7 =CB=CF=D4=CF=D2=CF=C7=CF =D2=C1=DA= =C4=C5=CC=D1=C0=D4 > > =D4=C5 =D6=C5 apcupsd =C9 nut). >=20 > =E1 =D7=CF=D4 =DC=D4=CF =CE=C5 NUT =D2=C1=DA=D8=D7=C5 ? >=20 > UPSCTL=3D/sbin/upsdrvctl > if [ -x "$UPSCTL" -a -f /etc/killpower ]; then > action "Attempting to turn the UPS off:" "$UPSCTL" shutdown > message=3D"The system is halted" > command=3D/sbin/poweroff > fi $ rpmquery -f /sbin/upsdrvctl nut-driver-2.0.1-alt2 --=20 ldv --ZmUaFz6apKcXQszQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCXVFw9viEa8HiNCkRAraRAJ9IxfzG9YVhFOJSCHvdHYskhdwDYgCbBLyB 96++BZ33sQPNKnaWyciuPDE= =7baQ -----END PGP SIGNATURE----- --ZmUaFz6apKcXQszQ--