[Frugalware-darcs] fwrunit-scripts: fwrunit-scripts: Ok, the multi.d parallelization didn't work as planned...

AlexExtreme alex at alex-smith.me.uk
Sat Oct 14 17:16:04 CEST 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fwrunit-scripts;a=darcs_commitdiff;h=20061014151622-46e39-962a64648d0f7b39c9fea84bbc532a6b581e917e.gz;

[fwrunit-scripts: Ok, the multi.d parallelization didn't work as planned...
AlexExtreme <alex at alex-smith.me.uk>**20061014151622] {
hunk ./etc/runit/2 3
+. /etc/init.conf
+
hunk ./etc/runit/2 9
-	file=`basename $script`
-	number=`echo $file | sed 's/[A-Za-z].*//'`
-	
-	if [ -z "$number" ]; then
-		continue
-	fi
-	
-	# Scripts with number greater than 15 can be parallelized
-	if [ "$number" -ge 15 ]; then
-		${script} start &
-	else
-		${script} start
-	fi
+	${script} start
}


More information about the Frugalware-darcs mailing list