git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a check for the e1000 driver. When it is unloaded, the script sleeps
[bootmanager.git]
/
source
/
steps
/
ChainBootNode.py
diff --git
a/source/steps/ChainBootNode.py
b/source/steps/ChainBootNode.py
index
e3c64d6
..
a4c2a52
100644
(file)
--- 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: