aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-05-07 14:50:13 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-07 14:50:13 +0200
commit945f93cadaeaf4970e28cb9995b2dca38e0fbb8c (patch)
tree6aaec102a801aa6b7cbc7c2f5f29fd7ae6edf218 /sysconfig/network-scripts/ifup-eth
parent032a604fe9c24483c9bc67c76494995d88115abe (diff)
downloadinitscripts-945f93cadaeaf4970e28cb9995b2dca38e0fbb8c.tar
initscripts-945f93cadaeaf4970e28cb9995b2dca38e0fbb8c.tar.gz
initscripts-945f93cadaeaf4970e28cb9995b2dca38e0fbb8c.tar.bz2
initscripts-945f93cadaeaf4970e28cb9995b2dca38e0fbb8c.tar.xz
initscripts-945f93cadaeaf4970e28cb9995b2dca38e0fbb8c.zip
bonding: warn if the ifup for slave device failed
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 1ee026bd..bae388c8 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -138,7 +138,7 @@ if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
/sbin/ip link set dev ${DEVICE} up
for device in $(LANG=C grep -l "^[[:space:]]*MASTER=\"\?${DEVICE}\"\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do
is_ignored_file "$device" && continue
- /sbin/ifup ${device##*/}
+ /sbin/ifup ${device##*/} || net_log "Unable to start slave device ${device##*/} for master ${DEVICE}." warning
done
[ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}