Make sure grub is updated after installing security.

This commit is contained in:
Captain ALM 2024-08-03 00:34:53 +01:00
parent 86a73b72fc
commit a14a9436c0
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -1,5 +1,7 @@
#!/bin/bash
echo "[+] Installing...";
echo "[+] Installing GRUB 2 Security...";
echo "[?] WARNING Make sure the current GRUB version does not have any bugs with gpg before installing, use CTRL+C to quit, enter to continue:";
read;
sudo cp bin/* /bin/ -f;
sudo cp initramfs-tools-hooks/* /etc/initramfs-tools/hooks/ -f;
sudo cp local-sbin/* /usr/local/sbin/ -f;
@ -15,5 +17,6 @@ fi
sudo cp /root/pubkey /boot/pubkey -f;
sudo cp gpg.conf /root/.gnupg/gpg.conf -f;
sudo cp gpg-agent.conf /root/.gnupg/gpg-agent.conf -f;
sudo grub-update;
echo "[+] Complete!";
exit;