aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-04-16 23:47:27 +0000
committerBill Nottingham <notting@redhat.com>2007-04-16 23:47:27 +0000
commit95de8fc726d04d7165a0c5cb51a824e1f9a88d74 (patch)
tree11e4e29d282e0b92005f8a2177c1f1df4e56f07c /sysconfig
parent94906dfa88fabcbb9956bb9cb8c95aba0d7101c5 (diff)
downloadinitscripts-95de8fc726d04d7165a0c5cb51a824e1f9a88d74.tar
initscripts-95de8fc726d04d7165a0c5cb51a824e1f9a88d74.tar.gz
initscripts-95de8fc726d04d7165a0c5cb51a824e1f9a88d74.tar.bz2
initscripts-95de8fc726d04d7165a0c5cb51a824e1f9a88d74.tar.xz
initscripts-95de8fc726d04d7165a0c5cb51a824e1f9a88d74.zip
support ETHTOOL_OPTS on bridge devices (#208043, <bbaetz@acm.org>)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth3
1 files changed, 3 insertions, 0 deletions
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,