aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-09-27 19:52:47 +0000
committerBill Nottingham <notting@redhat.com>2004-09-27 19:52:47 +0000
commit6a84e46472aa3392049253b702673110121f8088 (patch)
tree9e5a077dc74bfbd0bd5a7ef44efd84b8e46c7f77 /sysconfig
parente871fcbea9b627d4c4a93f7c1eb54013da39d856 (diff)
downloadinitscripts-6a84e46472aa3392049253b702673110121f8088.tar
initscripts-6a84e46472aa3392049253b702673110121f8088.tar.gz
initscripts-6a84e46472aa3392049253b702673110121f8088.tar.bz2
initscripts-6a84e46472aa3392049253b702673110121f8088.tar.xz
initscripts-6a84e46472aa3392049253b702673110121f8088.zip
backport ethtool_opts for slaves (#128714)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 4 insertions, 0 deletions
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