From f0b1568fe3e5be8c57e719646953f081587344a6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 4 May 2004 05:28:56 +0000 Subject: support ETHTOOL_OPTS on bonding slaves (#119430, ) --- sysconfig/network-scripts/ifup | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 5880bd25..2f78479b 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -205,6 +205,10 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \ echo $"Enslaving ${DEVICE} to ${MASTER}" ifenslave ${RFLAG} "${MASTER}" "${DEVICE}" + if [ -n "$ETHTOOL_OPTS" ] ; then + /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS + fi + exit 0 fi -- cgit v1.2.1