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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.