From 47e122a3a40172698306bc7009390de18f1617a5 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Tue, 20 Aug 2024 23:02:52 +0100 Subject: [PATCH] Fix install grub security missing message output. --- install-grub-security.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-grub-security.sh b/install-grub-security.sh index b246e71..731bf40 100755 --- a/install-grub-security.sh +++ b/install-grub-security.sh @@ -18,6 +18,8 @@ if [[ "$1" != "--no-pwd-prompt" ]] && [[ "$2" != "--no-pwd-prompt" ]]; then if ! [ -z $gphash ] && [ -f /etc/grub.d/00_header ]; then echo "[+] Setting GRUB Password..."; sudo sed -i "s/.*password_pbkdf2 root grub\.pbkdf2.*/password_pbkdf2 root $gphash/" /etc/grub.d/00_header; + else + echo "[*] Using grub.d.my.7z hash for GRUB user 'root'!"; fi; else echo "[*] Using grub.d.my.7z hash for GRUB user 'root'!";