Changeset 00d52bd4 for bootscripts/lfs


Ignore:
Timestamp:
Oct 27, 2006, 10:37:42 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0fd55dd
Parents:
a5b013ba
Message:

Updates for Boot logging hang issue

Location:
bootscripts/lfs
Files:
2 edited

Legend:

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

    ra5b013ba r00d52bd4  
    121121        # Print the message to the screen
    122122        echo ${ECHOPARM} -e "${2}${1}"
     123        if [ "$LOGGING" ]; then
     124                DISPLAYLOG="${1}"
     125        fi
    123126       
    124127}
     
    136139{
    137140        if [ "$LOGGING" ]; then
    138                 /bin/logger -p local2.info -t bootlog "${@}"
     141                /bin/logger -p local2.info -t bootlog "${DISPLAYLOG} ${1}"
    139142        else
    140143                return 0
  • bootscripts/lfs/sysconfig/network-devices/ifup

    ra5b013ba r00d52bd4  
    6565                                TEST="`ip addr show ${1} | grep inet | cut -f1 -d'/' | cut -f2 -d't' | cut -f2 -d' '`"
    6666                                if [ "$TEST" != "" ]; then
    67                                                 boot_mesg "Interface ${1} already configured." ${WARNING}
     67                                                boot_mesg "Interface ${1} already configured with IP ${TEST}." ${WARNING}
    6868                                                echo_warning
    6969                                                continue
Note: See TracChangeset for help on using the changeset viewer.