r4193 - in trunk/bootscripts: . lfs/init.d

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Wed Sep 22 21:31:00 PDT 2004


Author: nathan
Date: 2004-09-22 22:30:59 -0600 (Wed, 22 Sep 2004)
New Revision: 4193

Modified:
   trunk/bootscripts/CHANGELOG
   trunk/bootscripts/lfs/init.d/functions
Log:
removed  from boot_mesg, and removed space made between additions to BOOTMSG [allows \n

Modified: trunk/bootscripts/CHANGELOG
===================================================================
--- trunk/bootscripts/CHANGELOG	2004-09-23 03:47:55 UTC (rev 4192)
+++ trunk/bootscripts/CHANGELOG	2004-09-23 04:30:59 UTC (rev 4193)
@@ -1,6 +1,8 @@
 n/a - September 22, 2004
 	* Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
 	* fixed getpids, to remove unused pids obtained from $PIDFILE
+	* removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed space
+	  added to each additional sentence tacked onto BOOTMESG
 
 n/a - September 21, 2004
 	* boot_mesg has been enhanced.  Subsequent calls will overwrite previous text,

Modified: trunk/bootscripts/lfs/init.d/functions
===================================================================
--- trunk/bootscripts/lfs/init.d/functions	2004-09-23 03:47:55 UTC (rev 4192)
+++ trunk/bootscripts/lfs/init.d/functions	2004-09-23 04:30:59 UTC (rev 4193)
@@ -78,7 +78,7 @@
 	else
 		local length=`echo -e "$BOOTMESG" | grep -c \$`
 		local count=0
-		BOOTMESG="$BOOTMESG $@"
+		BOOTMESG="$BOOTMESG$@"
 		while [ "${count}" -lt "${length}" ]; do
 			echo -e -n "$CURS_UP"
 			count=$((${count}+1))
@@ -89,7 +89,7 @@
 	# by adding \n's where appropriate.
 	BOOTMESG=`echo ${BOOTMESG} | sed -n -e "s/\\\\n/\n/g;L ${WCOL}"`
 
-	echo -e "${NORMAL}${BOOTMESG}"
+	echo -e "${BOOTMESG}"
 }
 
 echo_ok()




More information about the lfs-book mailing list