aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-06-05 15:54:56 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-09 14:40:32 +0200
commitaf5e1fdabf743b71d28f6d9988c7cfc84befcbf6 (patch)
tree7e5af63fa345e7c5bdc634cf8d66050254810d6f
parent1c05070bbf19f7a90f9014285ebe70d9e80ddf3b (diff)
downloadinitscripts-af5e1fdabf743b71d28f6d9988c7cfc84befcbf6.tar
initscripts-af5e1fdabf743b71d28f6d9988c7cfc84befcbf6.tar.gz
initscripts-af5e1fdabf743b71d28f6d9988c7cfc84befcbf6.tar.bz2
initscripts-af5e1fdabf743b71d28f6d9988c7cfc84befcbf6.tar.xz
initscripts-af5e1fdabf743b71d28f6d9988c7cfc84befcbf6.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 b7339947..6e33bad8 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -181,6 +181,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