Created
December 7, 2016 21:43
-
-
Save Daemoen/b265b406c4a4eb1e3b8cfce1c1e4fbfc to your computer and use it in GitHub Desktop.
Virtualbox Driver Signing Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for drv in vboxdrv vboxnetflt vboxnetadp vboxpci | |
do | |
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n $drv) | |
modprobe $drv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment