From 4914e6a2b1c1b8ac5100e2f1c939c297633bd941 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:40:11 +0000 Subject: auto-import postgresql-7.2.1-15 from postgresql-7.2.1-15.src.rpm --- postgresql.init | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'postgresql.init') diff --git a/postgresql.init b/postgresql.init index 4beaefc..29ed5de 100644 --- a/postgresql.init +++ b/postgresql.init @@ -153,23 +153,12 @@ start(){ pid=`pidof -s postmaster` if [ $pid ] then - if echo "$TYPESET"|grep "declare -f success ()" >/dev/null - then - success "$PSQL_START" - else - echo " [ OK ]" - fi - touch /var/lock/subsys/postgresql - echo $pid > /var/run/postmaster.pid - echo + success "$PSQL_START" + touch /var/lock/subsys/postgresql + echo $pid > /var/run/postmaster.pid + echo else - if echo "$TYPESET"|grep "declare -f failure ()" >/dev/null - then - failure "$PSQL_START" - else - echo " [ FAILED ]" - fi - echo + failure "$PSQL_START" fi fi } -- cgit