From 439a141d909f83f38f23cb41461940fb215e1186 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 26 Jun 2008 15:05:17 +0000 Subject: [PATCH] -Improved cosmetic enhancements for conserver init script --- conserver/initscript.patch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conserver/initscript.patch b/conserver/initscript.patch index 556c7d2..6ee3734 100644 --- a/conserver/initscript.patch +++ b/conserver/initscript.patch @@ -1,6 +1,6 @@ diff -urN conserver-8.1.16/contrib/redhat-rpm/conserver.init conserver-8.1.16-diffinit/contrib/redhat-rpm/conserver.init --- conserver-8.1.16/contrib/redhat-rpm/conserver.init 2003-02-27 21:06:50.000000000 -0500 -+++ conserver-8.1.16-diffinit/contrib/redhat-rpm/conserver.init 2008-06-26 10:59:51.000000000 -0400 ++++ conserver-8.1.16-diffinit/contrib/redhat-rpm/conserver.init 2008-06-26 11:04:32.000000000 -0400 @@ -6,15 +6,48 @@ # description: conserver is a serial-port console daemon # config: /etc/conserver.cf @@ -57,7 +57,7 @@ diff -urN conserver-8.1.16/contrib/redhat-rpm/conserver.init conserver-8.1.16-di # make sure conserver is installed and executable [ -x /usr/sbin/conserver ] || exit 1 -@@ -24,22 +57,49 @@ +@@ -24,22 +57,46 @@ case "$1" in start) echo -n "Starting conserver: " @@ -72,7 +72,6 @@ diff -urN conserver-8.1.16/contrib/redhat-rpm/conserver.init conserver-8.1.16-di + exit 1 + fi + $SUCCESS -+ echo ;; stop) + $STATUS conserver >& /dev/null @@ -89,11 +88,9 @@ diff -urN conserver-8.1.16/contrib/redhat-rpm/conserver.init conserver-8.1.16-di + $STATUS conserver >& /dev/null + if [ "$?" == "0" ]; then + $FAILURE -+ echo + exit 1 + fi + $SUCCESS -+ echo ;; status) - status conserver