SOURCES: preload.init - set FHS compatible state file with command...

glen glen at pld-linux.org
Sun Oct 23 02:32:17 CEST 2005


Author: glen                         Date: Sun Oct 23 00:32:17 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set FHS compatible state file with commandline arg

---- Files affected:
SOURCES:
   preload.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/preload.init
diff -u SOURCES/preload.init:1.1 SOURCES/preload.init:1.2
--- SOURCES/preload.init:1.1	Sun Oct 23 02:25:46 2005
+++ SOURCES/preload.init	Sun Oct 23 02:32:12 2005
@@ -28,7 +28,7 @@
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/preload ]; then
 		msg_starting preload
-	    daemon /usr/sbin/preload $PRELOAD_OPTS
+	    daemon /usr/sbin/preload $PRELOAD_OPTS --statefile /var/lib/misc/preload.state
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/preload
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/preload.init?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list