From 95de8fc726d04d7165a0c5cb51a824e1f9a88d74 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 16 Apr 2007 23:47:27 +0000 Subject: support ETHTOOL_OPTS on bridge devices (#208043, ) --- sysconfig/network-scripts/ifup-eth | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 2b829e00..44bf0f6d 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -88,6 +88,9 @@ if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then fi /sbin/ip addr flush dev ${DEVICE} 2>/dev/null /sbin/ip link set dev ${DEVICE} up + if [ -n "$ETHTOOL_OPTS" ] ; then + /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS + fi [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} /usr/sbin/brctl addif ${BRIDGE} ${DEVICE} # Upon adding a device to a bridge, -- cgit v1.2.1