diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-05-07 14:50:13 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2015-06-08 11:02:47 +0200 |
commit | 8fd278b052b0e4882887c393a102dd453803b477 (patch) | |
tree | f493fa9ac327ee7b1f75b1cc74fd4e9f11d32484 | |
parent | f80e1a89366760c7133c7c923dd3cede46fc7543 (diff) | |
download | initscripts-8fd278b052b0e4882887c393a102dd453803b477.tar initscripts-8fd278b052b0e4882887c393a102dd453803b477.tar.gz initscripts-8fd278b052b0e4882887c393a102dd453803b477.tar.bz2 initscripts-8fd278b052b0e4882887c393a102dd453803b477.tar.xz initscripts-8fd278b052b0e4882887c393a102dd453803b477.zip |
bonding: warn if the ifup for slave device failed
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 24a6f4b0..76377a7b 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} |