diff options
| author | Bill Nottingham <notting@redhat.com> | 2004-07-14 19:26:59 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2004-07-14 19:26:59 +0000 |
| commit | 15c2f45ab23fc834ee0c414e19aff7137b46d492 (patch) | |
| tree | 0e5da5c75d937105d4f10c67ee0282354160aec9 | |
| parent | caa6a49ecd64708d1a076ae1380f1f7119155c2c (diff) | |
fix bonding + no IP (#127825)
| -rwxr-xr-x | sysconfig/network-scripts/ifup | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 4f8c2ad4..41d8821a 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -323,6 +323,13 @@ else if [ -z "${IPADDR}" ]; then # enable device without IP, useful for e.g. PPPoE ip link set dev ${REALDEVICE} up + # Bonding initialization part II + if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then + for device in `fgrep -l "MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do + /sbin/ifup ${device##*/} + done + fi + if [ "${NETWORKING_IPV6}" = "yes" ]; then /etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG} fi |
