diff options
| author | Bill Nottingham <notting@redhat.com> | 2004-01-07 19:47:00 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2004-01-07 19:47:00 +0000 |
| commit | 13be9b18ab5a34a992d33eadd7e9e4bf9b37166c (patch) | |
| tree | 878b9ac911c4140b4ac2ec56193eead658069df3 /sysconfig/network-scripts | |
| parent | bbcd9a45c8ba3794c6e3132d86553de54d7c9344 (diff) | |
make bonding support work more transparentlyr6-47-7
Diffstat (limited to 'sysconfig/network-scripts')
| -rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 2f9e0964..163bdb69 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -126,7 +126,7 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \ fi # master device? -if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then +if [ "${TYPE}" = "Bonding" -o "$DEVICETYPE" = "bond" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then ifconfig ${DEVICE} up for device in `fgrep -l "MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do /sbin/ifup ${device##*/} |
