From 039c85b8611fce73a114b89f2584c9e78ad29541 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 11 Nov 2003 20:25:21 +0000 Subject: add ethtool opts here --- sysconfig/network-scripts/ifup | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 447105ae..2f9e0964 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -169,6 +169,10 @@ if [ -n "${DYNCONFIG}" ]; then fi echo -n $"Determining IP information for ${DEVICE}..." + if [ -n "$ETHTOOL_OPTS" ] ; then + /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS + fi + # DHCP clients need DNS to be available, and we don't know # what DNS server they're using until they are done. FWHACK= @@ -209,6 +213,10 @@ else echo $"Failed to bring up ${DEVICE}." exit 1 fi + + if [ -n "$ETHTOOL_OPTS" ] ; then + /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS + fi if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then echo $"Error, some other host already uses address ${IPADDR}." -- cgit v1.2.1