mardi 3 juin 2014

How do I script the unloading of an UEFI/EFI driver?


Vote count:

0




When I'm at the UEFI/EFI shell, I can type the command "drivers" and it lists all the drivers that are loaded, like so:


EFI Driver List


Say that I want to unload the "USB OHCI Driver", I just type on the EFI shell command line:



unload 98


It asks if I really want to unload, I answer "y" and it unloads.


How would I script this? I can't find documentation for EFI scripting anywhere except for this site and the documentation is incredibly thin: http://ift.tt/1hKFXML


Would there be a way to do a Regex match on something like "OHCI" and then grab the DRV handle and pass that to the "unload" command?



asked 45 secs ago

Pretzel

2,209





Aucun commentaire:

Enregistrer un commentaire