[Lunar-commits] CVS: moonbase/utils/uptimed/init.d uptimed,1.2,1.3

Auke Kok sofar at lunar-linux.org
Thu Apr 1 12:48:29 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/uptimed/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11479

Modified Files:
	uptimed 
Log Message:
Hopefully this is the last tweak


Index: uptimed
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/uptimed/init.d/uptimed,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- uptimed	31 Mar 2004 21:03:34 -0000	1.2
+++ uptimed	1 Apr 2004 12:48:27 -0000	1.3
@@ -5,17 +5,14 @@
 # chkconfig: 12345 90 10
 # description: uptimed is used to monitor uptime stats, it leaves a record\
 #   in /var used by uprecords
-
-ARGS="-b"
+# processname: /usr/sbin/uptimed
 
 start () {
   echo -n "Setting uptime record: "  
-  /usr/sbin/uptimed $ARGS && echo -e $RESULT_OK || echo -e $RESULT_FAIL
+  /usr/sbin/uptimed -b && echo -e $RESULT_OK || echo -e $RESULT_FAIL
+  default_start
 }
 
-stop() {
-  :
-}
 
 . /lib/lsb/init-functions
 



More information about the Lunar-commits mailing list