From: Grega Bremec <grega.bremec@noviforum.si>
To: Janio Rosa da Silva <janio_2003@yahoo.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL With Slackware
Date: Wed, 23 Jun 2004 09:46:15 +0200
Message-ID: <20040623074615.GA18896@elbereth.noviforum.si> (raw)
In-Reply-To: <20040623065301.GA18621@elbereth.noviforum.si>
References: <F3CC4B18-C46E-11D8-8DEA-000A95A93360@superpod.com>
<6.1.1.1.2.20040622132523.02a0b6c8@mail.53tech.com>
<001101c458db$f9aec880$0200a8c0@pc02>
<20040623065301.GA18621@elbereth.noviforum.si>
...and on Wed, Jun 23, 2004 at 08:53:01AM +0200, Grega Bremec used the keyboard:
>
> Recap - patch /etc/rc.d/rc.sysvinit with the attached patch, create
>
> $ 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----
inline patch 1: rc.sysvinit-new (+8/-7 lines) download inline-1.patch--- 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
-# Run kill scripts in the previous runlevel if not "none"-if [ ! "$prevlevel" = "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" = "S" ]; then+ runlevel=1
fi
+for script in /etc/rc.d/rc$runlevel.d/K* ; do+ if [ -x $script ]; then+ startup $script stop+ fi+done
# 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,
--
Grega Bremec
Senior Administrator
Noviforum Ltd., Software & Media
http://www.noviforum.si/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: grega.bremec@noviforum.si, janio_2003@yahoo.com.br
Subject: Re: PostgreSQL With Slackware
In-Reply-To: <20040623074615.GA18896@elbereth.noviforum.si>
References: <F3CC4B18-C46E-11D8-8DEA-000A95A93360@superpod.com> <6.1.1.1.2.20040622132523.02a0b6c8@mail.53tech.com> <001101c458db$f9aec880$0200a8c0@pc02> <20040623065301.GA18621@elbereth.noviforum.si> <20040623074615.GA18896@elbereth.noviforum.si>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox