Bruce Dubbs wrote: > DJ Lucas wrote: >> Mostly for Bruce, but sent to list for everyone's review:
I had left the definitions NORMAL="\\033[0;39m" # Standard console grey SUCCESS="\\033[1;32m" # Success is green WARNING="\\033[1;33m" # Warnings are yellow FAILURE="\\033[1;31m" # Failures are red INFO="\\033[1;36m" # Information is light cyan BRACKET="\\033[1;34m" # Brackets are blue in init-functions to handle the case when a user may have deleted them from rc.site. Same for the DISTRO vars in init.d/rc ----- I'm not sure we want to set LOGLEVEL every time we change run level. Perhaps that should be wrapped in if [ "${runlevel}" == "S" ]; then dmesg -n "${LOGLEVEL:-7}"; fi ----- The purpose of log_info_msg2 was to be able to put something in the middle: log_info_msg "Start of message..." ... log_info_msg2 "Something else" (exit $RET) evalutate_retval So it would come out as: Start of message...Something else [ OK ] Adding ${BMPREFIX} to log_info_msg2 would change that behavior. See the modules script. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page