Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/rc

    redd83dc ra44ae577  
    1919   log_failure_msg
    2020   # $i is set when called
    21    MSG="FAILURE:\n\nYou should not be reading this error message.\n\n" 
     21   MSG="FAILURE:\n\nYou should not be reading this error message.\n\n"
    2222   MSG="${MSG}It means that an unforeseen error took place in\n"
    2323   MSG="${MSG}${i},\n"
    2424   MSG="${MSG}which exited with a return value of ${error_value}.\n"
    25  
     25
    2626   MSG="${MSG}If you're able to track this error down to a bug in one of\n"
    2727   MSG="${MSG}the files provided by the ${DISTRO_MINI} book,\n"
     
    3737   # $i is set when called
    3838   if [ ! -f ${i} ]; then
    39       log_warning_msg "${i} is not a valid symlink." 
     39      log_warning_msg "${i} is not a valid symlink."
    4040      SCRIPT_STAT="1"
    4141   fi
     
    103103
    104104if [ ! -d /etc/rc.d/rc${runlevel}.d ]; then
    105    log_info_msg "/etc/rc.d/rc${runlevel}.d does not exist.\n" 
     105   log_info_msg "/etc/rc.d/rc${runlevel}.d does not exist.\n"
    106106   exit 1
    107107fi
     
    110110
    111111# Note: In ${LOGLEVEL:-7}, it is ':' 'dash' '7', not minus 7
    112 if [ "$runlevel" == "S" ]; then 
    113    [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console 
    114    dmesg -n "${LOGLEVEL:-7}" 
     112if [ "$runlevel" == "S" ]; then
     113   [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console
     114   dmesg -n "${LOGLEVEL:-7}"
    115115fi
    116116
     
    226226if [ "${previous}" == "N" -a  "${runlevel}" != "S" ]; then
    227227   cat $BOOTLOG >> /var/log/boot.log
    228      
     228
    229229   # Mark the end of boot
    230230   echo "--------" >> /var/log/boot.log
    231    
     231
    232232   # Remove the temporary file
    233233   rm -f $BOOTLOG 2> /dev/null
Note: See TracChangeset for help on using the changeset viewer.