Author: bdubbs
Date: 2012-08-23 21:23:34 -0600 (Thu, 23 Aug 2012)
New Revision: 9960

Modified:
   trunk/BOOK/bootscripts/ChangeLog
   trunk/BOOK/bootscripts/lfs/init.d/rc
   trunk/BOOK/packages.ent
Log:
Read /etc/sysconfig/console when needed in rc

Modified: trunk/BOOK/bootscripts/ChangeLog
===================================================================
--- trunk/BOOK/bootscripts/ChangeLog    2012-08-24 02:48:55 UTC (rev 9959)
+++ trunk/BOOK/bootscripts/ChangeLog    2012-08-24 03:23:34 UTC (rev 9960)
@@ -1,3 +1,6 @@
+2012-08-24 Bruce Dubbs <[email protected]>
+   * Read /etc/sysconfig/console when needed in rc
+
 2012-06-17 Bruce Dubbs <[email protected]>
    * Only mount /run in mountvirtfs if it is not already mounted
      (from an initrd).

Modified: trunk/BOOK/bootscripts/lfs/init.d/rc
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/rc        2012-08-24 02:48:55 UTC (rev 
9959)
+++ trunk/BOOK/bootscripts/lfs/init.d/rc        2012-08-24 03:23:34 UTC (rev 
9960)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 ########################################################################
 # Begin rc
 #
@@ -110,7 +110,10 @@
 if [ "$runlevel" == "6" -o "$runlevel" == "0" ]; then IPROMPT="no"; fi
 
 # Note: In ${LOGLEVEL:-7}, it is ':' 'dash' '7', not minus 7
-if [ "$runlevel" == "S" ]; then dmesg -n "${LOGLEVEL:-7}"; fi
+if [ "$runlevel" == "S" ]; then 
+   [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console 
+   dmesg -n "${LOGLEVEL:-7}" 
+fi
 
 if [ "${IPROMPT}" == "yes" -a "${runlevel}" == "S" ]; then
    # The total length of the distro welcome string, without escape codes

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent     2012-08-24 02:48:55 UTC (rev 9959)
+++ trunk/BOOK/packages.ent     2012-08-24 03:23:34 UTC (rev 9960)
@@ -302,7 +302,7 @@
 <!ENTITY less-ch6-du "3.8 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20120725">                 <!-- Scripts 
depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120823">                 <!-- Scripts 
depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in 
Makefile -->
 <!ENTITY lfs-bootscripts-url 
"&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">           <!-- Updated in 
Makefile -->

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to