We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae83c3 commit 5f9df77Copy full SHA for 5f9df77
security/secure_boot_dkms.sh
@@ -11,6 +11,15 @@ if [ "${EUID}" -ne 0 ]; then
11
exit 1
12
fi
13
14
+echo "Configuring MOK for DKMS kernel modules."
15
update-secureboot-policy --enroll-key
16
+echo "Updating initramfs."
17
update-initramfs -u
-update-grub
18
+
19
+if command -v mortar-compilesigninstall &> /dev/null; then
20
+ echo "Mortar detected. Running mortar-compilesigninstall."
21
+ mortar-compilesigninstall
22
+else
23
+ echo "Updating GRUB configuration."
24
+ update-grub
25
+fi
0 commit comments