Changes in bootscripts/lfs/init.d/rc [edd83dc:a44ae577]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/rc
redd83dc ra44ae577 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.