Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for modfile in /lib/modules/$(uname -r)/*.ko; do
- echo "Signing $modfile"
- /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 \
- /root/module-signing/MOK.priv \
- /root/module-signing/MOK.der "$modfile"
- done
- modprobe vboxdrv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement