Changeset a483775 in bootscripts-standard


Ignore:
Timestamp:
Jun 4, 2009, 8:28:33 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
e5e4cd4
Parents:
04bc108
Message:

Fixed Bootlogging

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Changelog

    r04bc108 ra483775  
     1jim - June 4, 2009
     2        * Fixed Bootlogging Ticket #211.
     3
    14jim - February 3, 2009
    25        * Updated DHCPCD service.
  • clfs/init.d/functions

    r04bc108 ra483775  
    132132        ${ECHO} ${ECHOPARM} -e "${2}${1}"
    133133       
     134        # Message Log
     135        if [ -z "${BOOTMESG}" ]
     136        then
     137                BOOTMESG="${1}"
     138        else
     139                BOOTMESG="${BOOTMESG} ${1}"
     140        fi
    134141}
    135142
     
    140147        if [ "$LOGGING" ]; then
    141148                boot_log "${BOOTMESG}${@}"
     149                BOOTMESG=""
    142150        fi
    143151}
     
    165173        ${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]"
    166174        ${ECHO} -e "${NORMAL}"
     175        BOOTMESG="${BOOTMESG} [ OK ]"
    167176        boot_mesg_flush
    168177}
     
    181190        ${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]"
    182191        ${ECHO} -e "${NORMAL}"
     192        BOOTMESG="${BOOTMESG} [ FAIL ]"
    183193        boot_mesg_flush
    184194}
     
    197207        ${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]"
    198208        ${ECHO} -e "${NORMAL}"
     209        BOOTMESG="${BOOTMESG} [ WARN ]"
    199210        boot_mesg_flush
    200211}
Note: See TracChangeset for help on using the changeset viewer.