From 6a84e46472aa3392049253b702673110121f8088 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 27 Sep 2004 19:52:47 +0000 Subject: backport ethtool_opts for slaves (#128714) --- sysconfig/network-scripts/ifup | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index d4be91da..34434a36 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -173,6 +173,10 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \ echo $"Enslaving ${DEVICE} to ${MASTER}" ifenslave ${RFLAG} "${MASTER}" "${DEVICE}" >/dev/null 2>&1 + if [ -n "$ETHTOOL_OPTS" ] ; then + /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS + fi + exit 0 fi -- cgit v1.2.1