Re: PostgreSQL With Slackware

From: Grega Bremec <grega(dot)bremec(at)noviforum(dot)si>
To: Janio Rosa da Silva <janio_2003(at)yahoo(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQL With Slackware
Date: 2004-06-23 07:46:15
Message-ID: 20040623074615.GA18896@elbereth.noviforum.si
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

...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----
--- 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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message juanmime 2004-06-23 10:27:11 Asunto: Re: Problems restoring a DB with oids
Previous Message Aryan Ariel Rodriguez Chalas 2004-06-23 07:36:00 Problems with the connection to a Remote Database.