diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-11-27 02:14:12 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-11-27 02:14:12 +0000 |
commit | 17698aac3c63e74152deda5f601af0d9ab190e92 (patch) | |
tree | 3c631721c84ad0e925bc2ff5aeb82077c006b2cb /bootscripts | |
parent | ac62f1701bc5e22cd4b16dd63e53af731a44ff4e (diff) |
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
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/init.d/cleanfs | 2 | ||||
-rw-r--r-- | bootscripts/lfs/init.d/console | 16 |
2 files changed, 9 insertions, 9 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 |