Added a check for the e1000 driver. When it is unloaded, the script sleeps
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 25 Oct 2007 16:12:18 +0000 (16:12 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 25 Oct 2007 16:12:18 +0000 (16:12 +0000)
for 4 seconds before continuing.

source/steps/ChainBootNode.py

index e3c64d6..a4c2a52 100644 (file)
@@ -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: