From: Stephen Soltesz Date: Thu, 25 Oct 2007 16:12:18 +0000 (+0000) Subject: Added a check for the e1000 driver. When it is unloaded, the script sleeps X-Git-Tag: bootmanager-3.2-2~26 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7d17642586d9a639a57ab87d46cc2c9371209dce;p=bootmanager.git Added a check for the e1000 driver. When it is unloaded, the script sleeps for 4 seconds before continuing. --- diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index e3c64d6..a4c2a52 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -203,6 +203,9 @@ def Run( vars, log ): if module != "": log.write( "Unloading %s\n" % module ) utils.sysexec_noerr( "modprobe -r %s" % module, log ) + if module == "e1000": + log.write("Unloading e1000 driver; sleeping 4 seconds...\n") + time.sleep(4) modules.close() except IOError: