OSDN Git Service

Modify freebsd start script to just exit 0 with message.
authorBruce Momjian <bruce@momjian.us>
Tue, 23 Feb 2010 22:17:25 +0000 (22:17 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 23 Feb 2010 22:17:25 +0000 (22:17 +0000)
contrib/start-scripts/freebsd

index 7e9b103..e7338c0 100644 (file)
@@ -6,7 +6,7 @@
 # Created through merger of the Linux start script by Ryan Kirkpatrick
 # and the script in the FreeBSD ports collection.
 
-# $PostgreSQL: pgsql/contrib/start-scripts/freebsd,v 1.6 2010/02/23 22:15:35 momjian Exp $
+# $PostgreSQL: pgsql/contrib/start-scripts/freebsd,v 1.7 2010/02/23 22:17:25 momjian Exp $
 
 ## EDIT FROM HERE
 
@@ -39,10 +39,7 @@ PGCTL="$prefix/bin/pg_ctl"
 test -x $DAEMON ||
 {
        echo "$DAEMON not found"
-       if [ "$1" = "stop" ]
-       then exit 0
-       else exit 5
-       fi
+       exit 0
 }
 
 case $1 in