From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 1 Nov 2007 15:26:08 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20071101122608.GB25244@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <75e139a00710310322pdba103cx323cee86a17dc0cc@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <75e139a00710310322pdba103cx323cee86a17dc0cc@mail.gmail.com> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] =?koi8-r?b?8M/L0snUycvVytTFIGluaXQt08vSydDU?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 12:26:08 -0000 Archived-At: List-Archive: List-Post: --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Oct 31, 2007 at 04:22:35PM +0600, Slava Semushin wrote: > =F7 =C1=D4=D4=C1=DE=C5 init-=D3=CB=D2=C9=D0=D4 =C4=CC=D1 OSSEC. =F0=D2=CF= =DB=D5 =DA=CE=C1=C0=DD=C9=C8 =CC=C0=C4=C5=CA =D0=CF=D3=CD=CF=D4=D2=C5=D4=D8= =C9 > =D7=D9=D3=CB=C1=DA=C1=D4=D8 =DA=C1=CD=C5=DE=C1=CE=C9=D1/=D0=D2=C5=C4=CC= =CF=D6=C5=CE=C9=D1. > init-=D3=CB=D2=C9=D0=D4=C1 =D7 =C1=D0=D3=D4=D2=C9=CD... [...] > #!/bin/sh =F7 =D3=CB=D2=C9=D0=D4=C5 =C9=D3=D0=CF=CC=D8=DA=D5=C0=D4=D3=D1 =CD=C1=D3=D3= =C9=D7=D9. =E5=D3=CC=C9 =CF=DE=C5=CE=D8 =CE=C5 =C8=CF=DE=C5=D4=D3=D1 =CE= =C1=D0=C9=D3=C1=D4=D8 #!/bin/bash, =D4=CF =CD=CF=D6=C5=D4 =D3=D4=CF=C9=D4 =C8=CF=D4=D1 =C2=D9 =CF= =D3=D4=C1=D7=C9=D4=D8 =CB=CF=CD=CD=C5=CE=D4=C1=D2=C9=CA. =F7=D0=D2=CF=DE=C5=CD, =D3=CB=D2=C9=D0=D4 =C9 =D4=C1=CB =D3=CF=C4=C5=D2=D6= =C9=D4 =C4=CF=D3=D4=C1=D4=CF=DE=CE=CF alt-=D3=D0=C5=C3=C9=C6=C9=CB=C9. [...] > SourceIfNotEmpty /etc/ossec-init.conf =F7=C9=C4=C9=CD=CF =D7 =DC=D4=CF=CD =C6=C1=CA=CC=C5 =CF=D0=D2=C5=C4=C5=CC= =C5=CE=C1 =DA=C1=C7=C1=C4=CF=DE=CE=C1=D1 =D0=C5=D2=C5=CD=C5=CE=CE=C1=D1 DIR= ECTORY. =F1 =C2=D9 =C4=CF=C2=C1=D7=C9=CC =D3=D4=D2=CF=DE=CB=D5 DIRECTORY=3D =CE=C5=D0=CF=D3=D2=C5=C4=D3=D4=D7=C5=CE=CE=CF =D0=C5=D2=C5=C4 =D7=CB=CC=C0= =DE=C5=CE=C9=C5=CD =DC=D4=CF=C7=CF =C6=C1=CA=CC=C1. [...] > if [ "$TYPE" =3D "local" ]; then > start_order=3D"1 2 3 4 6 7" > stop_order=3D"7 4 6 3 1 2" >=20 > elif [ "$TYPE" =3D "server" ]; then > start_order=3D"1 2 3 4 5 6 7" > stop_order=3D"7 4 5 6 3 1 2" >=20 > elif [ "$TYPE" =3D "agent" ]; then > start_order=3D"2 0 4 6" > stop_order=3D"4 6 0 2" >=20 > else > exit 1 > fi =F0=CF=D6=C1=CC=D5=CA=D3=D4=C1, =CF=D4=CB=D2=CF=CA=D4=C5 =C4=CC=D1 =D3=C5= =C2=D1 case. [...] > check > [ $RETVAL -eq 0 ] || return =FA=C4=C5=D3=D8 =C9 =C4=C1=CC=C5=C5 =D0=D2=CF=DD=C5 =C2=D9=CC=CF =C2=D9 =CE= =C1=D0=C9=D3=C1=D4=D8 check || return --=20 ldv --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHKcXffKvmrJ41Nh4RAtnnAKCxJuHJMJiuJpLc0gY3nz0XPm58ZwCfbziW VpWFPsSxeQZFePXBvZTKqdU= =1PSD -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO--