add signing module routine f...
|
1 |
#!/bin/zsh |
2 |
# bash compatible |
|
3 | ||
4 |
for c in nvidia-current vboxdrv; do |
|
5 |
for modfile in $(dirname $(modinfo -n $c))/*.ko; do |
|
6 |
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file \ |
|
7 |
sha256 \ |
|
8 |
/root/module-signing/MOK.priv \ |
|
9 |
/root/module-signing/MOK.der \ |
|
10 |
"$modfile" |
|
11 |
done |
|
12 |
done |