X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F867D1B173 for ; Wed, 23 Jun 2004 04:47:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40242-05 for ; Wed, 23 Jun 2004 07:47:25 +0000 (GMT) Received: from mail.najdi.si (elfstone.noviforum.si [193.189.169.107]) by svr1.postgresql.org (Postfix) with ESMTP id D78EBD1B169 for ; Wed, 23 Jun 2004 04:47:22 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by elfstone.noviforum.si (ESMTP) with ESMTP id 4FD9D1B914; Wed, 23 Jun 2004 09:40:58 +0200 (CEST) Received: from elbereth.noviforum.si (elbereth.noviforum.si [192.168.2.26]) by elfstone.noviforum.si (ESMTP) with ESMTP id 212181B912; Wed, 23 Jun 2004 09:40:58 +0200 (CEST) Received: from elbereth.noviforum.si (localhost [127.0.0.1]) by elbereth.noviforum.si (8.12.10/8.12.10) with ESMTP id i5N7kFWg019375; Wed, 23 Jun 2004 09:46:15 +0200 Received: (from gregab@localhost) by elbereth.noviforum.si (8.12.10/8.12.10/Submit) id i5N7kFsZ019374; Wed, 23 Jun 2004 09:46:15 +0200 Date: Wed, 23 Jun 2004 09:46:15 +0200 From: Grega Bremec To: Janio Rosa da Silva Cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL With Slackware Message-ID: <20040623074615.GA18896@elbereth.noviforum.si> References: <6.1.1.1.2.20040622132523.02a0b6c8@mail.53tech.com> <001101c458db$f9aec880$0200a8c0@pc02> <20040623065301.GA18621@elbereth.noviforum.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <20040623065301.GA18621@elbereth.noviforum.si> User-Agent: Mutt/1.4.2i Organization: Noviforum, Ltd., Software & Media X-Virus-Scanned: by Najdi.si X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/301 X-Sequence-Number: 13961 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ...and on Wed, Jun 23, 2004 at 08:53:01AM +0200, Grega Bremec used the keyb= oard: >=20 > Recap - patch /etc/rc.d/rc.sysvinit with the attached patch, create >=20 > $ mkdir /etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d Eeek, seems there's been a mismatch in the original source file I used to create the patch... It should go as follows: ----CUT-HERE---- --- rc.sysvinit-old 2004-06-23 09:44:24.000000000 +0200 +++ rc.sysvinit-new 2004-06-23 09:44:51.000000000 +0200 @@ -40,14 +40,15 @@ export prevlevel fi =20 -# Run kill scripts in the previous runlevel if not "none" -if [ ! "$prevlevel" =3D "N" ]; then - for script in /etc/rc.d/rc$prevlevel.d/K* ; do - if [ -x $script ]; then - startup $script stop - fi - done +# Run kill scripts +if [ "$runlevel" =3D "S" ]; then + runlevel=3D1 fi +for script in /etc/rc.d/rc$runlevel.d/K* ; do + if [ -x $script ]; then + startup $script stop + fi +done =20 # Now do the startup scripts: for script in /etc/rc.d/rc$runlevel.d/S* ; do ----CUT-HERE---- My sincere apologies for the mixup. Cheers, --=20 Grega Bremec Senior Administrator Noviforum Ltd., Software & Media http://www.noviforum.si/ --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFA2TVHDo/EMYD4+osRAsJfAKCPygdKN9pKP0MbzHu1vn1SubazVwCeOqH9 MF6guCEJ1XwNA25jVWRi93Q= =DPxh -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--