[lfs-book] r9672 - in trunk/BOOK: . bootscripts/lfs/init.d chapter01

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sat Nov 26 18:14:22 PST 2011


Author: bdubbs
Date: 2011-11-26 19:14:12 -0700 (Sat, 26 Nov 2011)
New Revision: 9672

Modified:
   trunk/BOOK/bootscripts/lfs/init.d/cleanfs
   trunk/BOOK/bootscripts/lfs/init.d/console
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
Log:
Clen up console script.
Fix man-pages url.
Fix minor typos.


Modified: trunk/BOOK/bootscripts/lfs/init.d/cleanfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/cleanfs	2011-11-25 20:50:58 UTC (rev 9671)
+++ trunk/BOOK/bootscripts/lfs/init.d/cleanfs	2011-11-27 02:14:12 UTC (rev 9672)
@@ -22,7 +22,7 @@
 # Default-Stop:
 # Short-Description:   Cleans temporary directories early in the boot process.
 # Description:         Cleans temporary directories /var/run, /var/lock, and
-#                      optionally) /tmp.  cleanfs also creates /var/run/utmp 
+#                      optionally, /tmp.  cleanfs also creates /var/run/utmp 
 #                      and any files defined in /etc/sysconfig/createfiles.
 # X-LFS-Provided-By:   LFS
 ### END INIT INFO

Modified: trunk/BOOK/bootscripts/lfs/init.d/console
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/console	2011-11-25 20:50:58 UTC (rev 9671)
+++ trunk/BOOK/bootscripts/lfs/init.d/console	2011-11-27 02:14:12 UTC (rev 9672)
@@ -37,17 +37,17 @@
    [ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ]
 }
 
-# See if we need to do anything
-if [ -z "${KEYMAP}"         ] && [ -z "${KEYMAP_CORRECTIONS}" ] &&
-   [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&     
-   ! is_true "${UNICODE}"; then 
-   exit 0
-fi
-
 failed=0
 
 case "${1}" in
    start)
+      # See if we need to do anything
+      if [ -z "${KEYMAP}"         ] && [ -z "${KEYMAP_CORRECTIONS}" ] &&
+         [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&     
+         ! is_true "${UNICODE}"; then 
+         exit 0
+      fi
+
       # There should be no bogus failures below this line!
       log_info_msg "Setting up Linux console..."
 
@@ -104,7 +104,7 @@
       ;;              
 
    *)                 
-      echo $"Usage:"  "${0} {start}"
+      echo "Usage:  ${0} {start}"
       exit 1          
       ;;              
 esac

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2011-11-25 20:50:58 UTC (rev 9671)
+++ trunk/BOOK/chapter01/changelog.xml	2011-11-27 02:14:12 UTC (rev 9672)
@@ -37,6 +37,15 @@
 
 -->
     <listitem>
+      <para>2011-11-26</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Clean up console script.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2011-11-25</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2011-11-25 20:50:58 UTC (rev 9671)
+++ trunk/BOOK/general.ent	2011-11-27 02:14:12 UTC (rev 9672)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20111125">
-<!ENTITY releasedate "Nov 25, 2011">
+<!ENTITY version "SVN-20111126">
+<!ENTITY releasedate "Nov 26, 2011">
 <!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone "7.1">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2011-11-25 20:50:58 UTC (rev 9671)
+++ trunk/BOOK/packages.ent	2011-11-27 02:14:12 UTC (rev 9672)
@@ -297,7 +297,7 @@
 <!ENTITY less-ch6-du "3.5 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20111114">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20111126">                 <!-- 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 -->
@@ -368,7 +368,7 @@
 
 <!ENTITY man-pages-version "3.35">
 <!ENTITY man-pages-size "1,650 KB">
-<!ENTITY man-pages-url "http://man7.org/linux/man-pages/download/man-pages-&man-pages-version;.tar.gz">
+<!ENTITY man-pages-url "http://man7.org/linux/download/man-pages/man-pages-&man-pages-version;.tar.gz">
 <!ENTITY man-pages-md5 "e41432ee35a49036bbaf8d4598506e9c">
 <!ENTITY man-pages-home "http://man7.org/linux/man-pages/index.html">
 <!ENTITY man-pages-ch6-du "21 MB">




More information about the lfs-book mailing list