CVS: moonbase/utils/hc-cron/init.d crond,1.1.1.1,1.2

sofar at lunar-linux.org sofar at lunar-linux.org
Thu Aug 14 21:33:28 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/hc-cron/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24449

Modified Files:
	crond 
Log Message:
This removes the "failed" message, crond is nice enough to be started like this.


Index: crond
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/hc-cron/init.d/crond,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- crond	21 Aug 2002 00:55:21 -0000	1.1.1.1
+++ crond	14 Aug 2003 21:33:26 -0000	1.2
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
 #
 # hccron          Start/Stop the cron clock daemon.
 #
@@ -8,6 +8,11 @@
 #              number of features to the basic UNIX cron, including better \
 #              security and more powerful configuration options.
 # processname: crond
+
+start () {
+  echo -n "Starting crond: "  
+  crond && echo -e $RESULT_OK || echo -e $RESULT_FAIL
+}    
 
 . /lib/lsb/init-functions
 




More information about the Lunar-commits mailing list