aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-06-05 15:54:56 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-06-05 15:54:56 +0200
commit995e67bb654db68bc1a7d3b56f0d1fb2061b55e2 (patch)
tree2585b22799b4e517d666fe50c5c2dcef9b39ad9d
parentd45b3ee0766b1474d12f0833720dccce0f54c9d9 (diff)
downloadinitscripts-995e67bb654db68bc1a7d3b56f0d1fb2061b55e2.tar
initscripts-995e67bb654db68bc1a7d3b56f0d1fb2061b55e2.tar.gz
initscripts-995e67bb654db68bc1a7d3b56f0d1fb2061b55e2.tar.bz2
initscripts-995e67bb654db68bc1a7d3b56f0d1fb2061b55e2.tar.xz
initscripts-995e67bb654db68bc1a7d3b56f0d1fb2061b55e2.zip
network-functions: ETHTOOL_DELAY introduction patch
-rw-r--r--sysconfig/network-scripts/network-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 49086328..91863fdb 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -162,6 +162,7 @@ ethtool_set()
{
oldifs=$IFS;
IFS=';';
+ [ -n "${ETHTOOL_DELAY}" ] && /bin/usleep ${ETHTOOL_DELAY}
for opts in $ETHTOOL_OPTS ; do
IFS=$oldifs;
if [[ "${opts}" =~ [[:space:]]*- ]]; then