From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 20 Apr 2005 15:12:59 +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: <20050420111258.GA29557@nomad.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <200504132020.30611.asy@altlinux.ru> <20050414141610.GA3962@basalt.office.altlinux.org> <200504142143.01946.asy@altlinux.ru> <200504142210.19990.asy@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <200504142210.19990.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, 20 Apr 2005 11:13:20 -0000 Archived-At: List-Archive: List-Post: --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 14, 2005 at 10:10:19PM +0500, Sergey Y. Afonin wrote: > On Thursday 14 April 2005 21:43, Sergey Y. Afonin wrote: >=20 > > =F7 =D0=C1=CB=C5=D4=D9 nut =C9 apcupsd =C4=CF=C2=C1=D7=CC=D1=C5=D4=D3= =D1 init-=D3=CB=D2=C9=D0=D4 =D3 =CE=C1=DA=D7=C1=CE=C9=C5=CD, =D3=CB=C1=D6= =C5=CD,=20 > > killpowercheck, >=20 > =E1, =CD=CF=D6=C5=D4, =D0=D2=C1=D7=C9=CC=D8=CE=C5=C5 =C5=C7=CF =C9 =D7 st= artup =D7=CB=CC=C0=DE=C9=D4=D8... >=20 > > =CB=CF=D4=CF=D2=D9=CA =D3=CF=C4=C5=D2=D6=C9=D4 =D0=D2=C9=CD=C5=D2=CE=CF= =D3=CC=C5=C4=D5=C0=DD=C9=CA =CB=D5=D3=CF=CB =CB=CF=C4=C1=20 > > (bash =D5 =CD=C5=CE=D1, =DE=D4=CF =CE=C1=DA=D9=D7=C1=C5=D4=D3=D1, =D3= =CF =D3=CC=CF=D7=C1=D2=C5=CD, =D0=CF=D4=CF=CD=D5 =C2=D5=C4=D5 =CF=C2=D2=C1= =DA=CE=CF > > =D0=C9=D3=C1=D4=D8 =CD=C5=D3=D4=C1=CD=C9): >=20 > > stop) > > if [=D0=D2=C1=D7=C9=CC=D8=CE=D9=CA ups]; then >=20 > ...a =D7=CF=D4 =D4=D5=D4 =D3=C4=C5=CC=C1=D4=D8 =D7=D9=DA=CF=D7 =D3=D0=C5= =C3=C9=C6=C9=DE=C5=D3=CB=CF=C7=CF =C4=CC=D1 nut =C9=CC=C9 apcupsd > =D3=CB=D2=C9=D0=D4=C1, =CB=CF=D4=CF=D2=D9=CA =D0=D2=CF=D7=C5=D2=C9=D4, = =CB=C1=CB=CF=CA UPS =D0=CF=C4=CB=CC=C0=DE=C5=CE, =D3=D7=C5=D2=C9=D4 =D3=CF > =D3=D0=C9=D3=CB=CF=CD =C9 =D7=C5=D2=CE=C5=D4 =CE=D5=D6=CE=D9=CA =CB=CF=C4= =D7=CF=DA=D7=D2=C1=D4=C1. =F1 =CE=C5 =D0=CF=CE=D1=CC, =C7=C4=C5 =D3=CF=C7=CC=C1=D3=CE=CF =D0=D2=C5=C4= =CC=C1=C7=C1=C5=CD=CF=CA =D3=C8=C5=CD=C5 =C4=CF=CC=D6=C5=CE =D0=D2=CF=C9=D3= =C8=CF=C4=C9=D4=D8 =D7=D9=DA=CF=D7 action "Attempting to turn the UPS off:" "$UPSCTL" killpower (=C4=CC=D1 apcupsd) =C9=CC=C9 action "Attempting to turn the UPS off:" "$UPSCTL" shutdown (=C4=CC=D1 nut)? =E5=D3=CC=C9 =DC=D4=CF=D4 =D7=D9=DA=CF=D7 =C2=D5=C4=C5=D4 =C4=CF =DA=C1=D0= =D5=D3=CB=C1 /etc/init.d/halt, =D4=CF =C4=CF =D0=CF=D3=CC=C5=C4=CE=C5=C7=CF =D5=D0=D2=C1=D7=CC=C5=CE=C9=C5 =CE=C5 =C4=CF=CA=C4=A3=D4 =D7=CF=CF=C2=DD=C5. =E5=D3=CC=C9 =DC=D4=CF=D4 =D7=D9=DA=CF=D7 =CF=D3=D4=C1=CE=C5=D4=D3=D1 =D7 /= etc/init.d/halt, =D4=CF =DE=D4=CF =D4=CF=C7=C4=C1 =C2=D5=C4=C5=D4 =C4=C5=CC= =C1=D4=D8 =CE=CF=D7=D9=CA init-=D3=CB=D2=C9=D0=D4? --=20 ldv --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCZjk69viEa8HiNCkRAnsUAJ9Z1e7MwjX3Y4m6oNEv19QhflWxmwCZAdLe e1h8fzp9Iz6T6UkT+ICvcIs= =q0fE -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--