Changeset 83be575 for bootscripts/lfs


Ignore:
Timestamp:
Aug 20, 2006, 11:49:05 PM (18 years ago)
Author:
Jeremy Utley <jerutley@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
7714386
Parents:
3f64412
Message:

Logic error in ifup script - output of ip link show always shows all interfaces - added a grep to only look at the interface we're interested in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/sysconfig/network-devices/ifup

    r3f64412 r83be575  
    6464                        if [ -z "${CHECK_LINK}" -o "${CHECK_LINK}" = "y" -o "${CHECK_LINK}" = "yes" -o "${CHECK_LINK}" = "1" ]; then
    6565                                if ip link show ${1} > /dev/null 2>&1; then
    66                                         link_status=`ip link show ${1} 2> /dev/null`
     66                                        link_status=`ip link show ${1} 2> /dev/null | grep ${1}`
    6767                                        if [ -n "${link_status}" ]; then
    6868                                                if ! echo "${link_status}" | grep -q UP; then
Note: See TracChangeset for help on using the changeset viewer.