[Initng-svn] r3638 - initng-ifiles/trunk/initfiles/system

svn at initng.thinktux.net svn at initng.thinktux.net
Mon Apr 3 00:28:10 CEST 2006


Author: jimmy
Date: Mon Apr  3 00:28:09 2006
New Revision: 3638

Modified:
   initng-ifiles/trunk/initfiles/system/readahead.ii
Log:
I hope someone can make this file more nice..


Modified: initng-ifiles/trunk/initfiles/system/readahead.ii
==============================================================================
--- initng-ifiles/trunk/initfiles/system/readahead.ii	(original)
+++ initng-ifiles/trunk/initfiles/system/readahead.ii	Mon Apr  3 00:28:09 2006
@@ -13,6 +13,7 @@
 daemon system/readahead/watcher-desktop {
 	need = system/initial/mountvirtfs system/mountfs;
 	also_start = system/readahead/stopper;
+	forks;
 	script daemon = {
 	    # Move away the old pid created by system/readahead/watcher
 	    mv /var/run/readahead-watch.pid /var/run/readahead-watch-boot.pid
@@ -37,6 +38,7 @@
 daemon system/readahead/watcher {
 	need = system/initial/mountvirtfs;
 	also_start = system/readahead/stopper;
+	forks;
 	script daemon = {
 	    
 	    # If /usr or /var is mounted on another filesystem, make sure they will also be checked
@@ -82,7 +84,8 @@
 		exit 1
 	    else
 		# if the watcher exist, generate /etc/readahead/boot
-		ngc --instant -u system/readahead/watcher &
+		echo "Starting system/readahead/watcher, to collect boot record data "
+		ngc --instant --quiet -u system/readahead/watcher
 		# Sleep 4 seconds, so readahead-watcher really stars, and got all.
 		echo "Sleep 4"
 		sleep 1


More information about the Initng-svn mailing list