Changeset 00d52bd4 for bootscripts


Ignore:
Timestamp:
Oct 27, 2006, 10:37:42 PM (17 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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/Changelog

    ra5b013ba r00d52bd4  
     1jim - October 24, 2006
     2        * Added IP Address of Interface on IFUP Error message
     3        * Fixed Logging. Would hang because of an empty variable
     4
    15jim - September 24, 2006
    26        * Changed LFS to CLFS
  • 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.