From 17698aac3c63e74152deda5f601af0d9ab190e92 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 27 Nov 2011 02:14:12 +0000 Subject: Clen up console script. Fix man-pages url. Fix minor typos. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9672 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/init.d/cleanfs | 2 +- bootscripts/lfs/init.d/console | 16 ++++++++-------- chapter01/changelog.xml | 9 +++++++++ general.ent | 4 ++-- packages.ent | 4 ++-- 5 files changed, 22 insertions(+), 13 deletions(-) diff --git a/bootscripts/lfs/init.d/cleanfs b/bootscripts/lfs/init.d/cleanfs index 84485f1c0..25a21bcf4 100644 --- a/bootscripts/lfs/init.d/cleanfs +++ b/bootscripts/lfs/init.d/cleanfs @@ -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 diff --git a/bootscripts/lfs/init.d/console b/bootscripts/lfs/init.d/console index 8476290d5..17a59e8a3 100644 --- a/bootscripts/lfs/init.d/console +++ b/bootscripts/lfs/init.d/console @@ -37,17 +37,17 @@ function is_true() [ "$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 @@ case "${1}" in ;; *) - echo $"Usage:" "${0} {start}" + echo "Usage: ${0} {start}" exit 1 ;; esac diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7453f6240..4018d128e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,15 @@ --> + + 2011-11-26 + + + [bdubbs] - Clean up console script. + + + + 2011-11-25 diff --git a/general.ent b/general.ent index d0763a5d7..648cf46ff 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index e1ce041dd..1a055ffe9 100644 --- a/packages.ent +++ b/packages.ent @@ -297,7 +297,7 @@ - + @@ -368,7 +368,7 @@ - + -- cgit v1.2.3-54-g00ecf