Changeset d4c8dce4 for bootscripts/lfs/init.d/rc
- Timestamp:
- 09/15/2021 07:24:40 AM (3 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/rc
rdf1207e rd4c8dce4 19 19 log_failure_msg 20 20 # $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" 22 22 MSG="${MSG}It means that an unforeseen error took place in\n" 23 23 MSG="${MSG}${i},\n" 24 24 MSG="${MSG}which exited with a return value of ${error_value}.\n" 25 25 26 26 MSG="${MSG}If you're able to track this error down to a bug in one of\n" 27 27 MSG="${MSG}the files provided by the ${DISTRO_MINI} book,\n" … … 37 37 # $i is set when called 38 38 if [ ! -f ${i} ]; then 39 log_warning_msg "${i} is not a valid symlink." 39 log_warning_msg "${i} is not a valid symlink." 40 40 SCRIPT_STAT="1" 41 41 fi … … 103 103 104 104 if [ ! -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" 106 106 exit 1 107 107 fi … … 110 110 111 111 # 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}" 112 if [ "$runlevel" == "S" ]; then 113 [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console 114 dmesg -n "${LOGLEVEL:-7}" 115 115 fi 116 116 … … 226 226 if [ "${previous}" == "N" -a "${runlevel}" != "S" ]; then 227 227 cat $BOOTLOG >> /var/log/boot.log 228 228 229 229 # Mark the end of boot 230 230 echo "--------" >> /var/log/boot.log 231 231 232 232 # Remove the temporary file 233 233 rm -f $BOOTLOG 2> /dev/null
Note:
See TracChangeset
for help on using the changeset viewer.