Changeset f5573ef


Ignore:
Timestamp:
Aug 27, 2006, 9:02:54 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:
a432641
Parents:
8deb89e
Message:

r5255@server: jim | 2006-08-27 21:00:26 -0700
Added the same logic fix to ifdown, that jeremy added to ifup

Location:
bootscripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/Changelog

    r8deb89e rf5573ef  
     1jim - August 27, 2006
     2        * Added the same change to ifdown script.
     3
     4jeremy - August 21, 2006
     5        * Logic error in ifup script - output of ip link show always shows
     6          all interfaces - added a grep to only look at the interface we're
     7          interested in
     8
    19jim - July 27, 2006
    210        * Corrected install-minimal symlinks
  • bootscripts/lfs/sysconfig/network-devices/ifdown

    r8deb89e rf5573ef  
    8383
    8484if [ -z "${2}" ]; then
    85         link_status=`ip link show $1 2> /dev/null`
     85        link_status=`ip link show ${1} 2> /dev/null | grep ${1}`
    8686        if [ -n "${link_status}" ]; then
    8787                if echo "${link_status}" | grep -q UP; then
Note: See TracChangeset for help on using the changeset viewer.