diff options
author | Bill Nottingham <notting@redhat.com> | 2007-04-16 23:47:27 +0000 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:06 +0200 |
commit | 9e0bfd1047847acc726c63a4026e8710e85f7c71 (patch) | |
tree | fa83d4afc6b94e389964133b769ff07a43e89291 /sysconfig/network-scripts | |
parent | efd768e3941b54c8e3332dfd96fefed53a4be20e (diff) | |
download | initscripts-9e0bfd1047847acc726c63a4026e8710e85f7c71.tar initscripts-9e0bfd1047847acc726c63a4026e8710e85f7c71.tar.gz initscripts-9e0bfd1047847acc726c63a4026e8710e85f7c71.tar.bz2 initscripts-9e0bfd1047847acc726c63a4026e8710e85f7c71.tar.xz initscripts-9e0bfd1047847acc726c63a4026e8710e85f7c71.zip |
support ETHTOOL_OPTS on bridge devices (#493255, <bbaetz@acm.org>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 1bdd83ce..85dad42d 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -154,6 +154,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, |