SVN: rc-scripts/trunk/rc.d/init.d/functions

glen glen at pld-linux.org
Sun Sep 17 20:15:07 CEST 2006


Author: glen
Date: Sun Sep 17 20:15:07 2006
New Revision: 7782

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
Buffer show() function so the display to be more smooth.

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Sun Sep 17 20:15:07 2006
@@ -332,6 +332,7 @@
 {
 	typeset out
 
+	out=$(
 		echo -n "$INIT_DOTS"
 		termput hpa 0
 		if [ -n "$CHARS" ]; then
@@ -347,6 +348,8 @@
 		fi
 
 		termput hpa $INIT_COL
+	)
+	echo -n "$out"
 }
 
 # Displays message in square brackests ("[ DONE ]"). Takes two arguments.


More information about the pld-cvs-commit mailing list