Re: PostgreSQL With Slackware

Поиск
Список
Период
Сортировка
От Grega Bremec
Тема Re: PostgreSQL With Slackware
Дата
Msg-id 20040623074615.GA18896@elbereth.noviforum.si
обсуждение исходный текст
Ответ на Re: PostgreSQL With Slackware  (Grega Bremec <grega.bremec@noviforum.si>)
Список 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/

Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Aryan Ariel Rodriguez Chalas
Дата:
Сообщение: Problems with the connection to a Remote Database.
Следующее
От: juanmime@ono.com
Дата:
Сообщение: Asunto: Re: Problems restoring a DB with oids