Ignore:
Timestamp:
09/15/2021 07:24:40 AM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9af096e
Parents:
df1207e (diff), 06e7b361 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into plabs/condxml

File:
1 edited

Legend:

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

    rdf1207e rd4c8dce4  
    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.