diff options
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 |