[Livecd-commit] trunk/create_livecd.sh

svnusers at osadl.org svnusers at osadl.org
Wed May 9 15:03:26 CEST 2007


Repository: /var/svn-osadl-projects/livecd/
Revision: 8
Author: tb10alj

Log message:
Integration of Carsten's changes to latency-demo:
On SMP systems we get a latency-plot for all present CPUs.



Updated trunk/create_livecd.sh 

Modified: trunk/create_livecd.sh
===================================================================
--- trunk/create_livecd.sh	2006-09-18 09:30:30 UTC (rev 7)
+++ trunk/create_livecd.sh	2007-05-09 13:03:25 UTC (rev 8)
@@ -330,16 +330,16 @@
 	TARGETFILE=$KNOPPIX_SOURCE/etc/X11/Xsession.d/45xsession
 	LINENUMBER=`grep -n 'ln \$HOME/Desktop/KNOPPIX.desktop \$HOME/.kde/Autostart/showindex.desktop' $TARGETFILE | cut -d: -f1`
 
-	if [ -z "`grep latency-demo $TARGETFILE`" ]
+	if [ -z "`grep latency-plot $TARGETFILE`" ]
 	then
 		head -n`expr $LINENUMBER + 2` $TARGETFILE > $TMPFILE
 
 		cat <<STOP >>$TMPFILE
-if [ -e /bin/latency-demo ]; then
+if [ -e /bin/latency-plot ]; then
 cat >> \$HOME/Desktop/Latency.desktop <<EOF
 [Desktop Entry]
 Name=Latency-Demo
-Exec=xterm -e "sudo bash /bin/latency-demo"; display /tmp/latency-demo.pbm
+Exec=xterm -e "sudo bash /bin/latency-plot";
 Type=Application
 Icon=html
 Terminal=0



More information about the Livecd-commit mailing list