Advertisement
Guest User

Untitled

a guest
Aug 26th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for modfile in /lib/modules/$(uname -r)/*.ko; do
  4. echo "Signing $modfile"
  5. /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 \
  6. /root/module-signing/MOK.priv \
  7. /root/module-signing/MOK.der "$modfile"
  8. done
  9.  
  10. modprobe vboxdrv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement