diff --git a/bin/hardening/1.5.1_bootloader_ownership.sh b/bin/hardening/1.5.1_bootloader_ownership.sh index 7aaf6d9..70dbd77 100755 --- a/bin/hardening/1.5.1_bootloader_ownership.sh +++ b/bin/hardening/1.5.1_bootloader_ownership.sh @@ -64,7 +64,7 @@ apply() { # This function will check config parameters required check_config() { - is_pkg_installed "grub-pc" + is_pkg_installed "grub-common" if [ "$FNRET" != 0 ]; then warn "Grub is not installed, not handling configuration" exit 2 diff --git a/bin/hardening/1.5.2_bootloader_password.sh b/bin/hardening/1.5.2_bootloader_password.sh index 188dd2a..2ae0847 100755 --- a/bin/hardening/1.5.2_bootloader_password.sh +++ b/bin/hardening/1.5.2_bootloader_password.sh @@ -55,9 +55,9 @@ apply() { # This function will check config parameters required check_config() { - is_pkg_installed "grub-pc" + is_pkg_installed "grub-common" if [ "$FNRET" != 0 ]; then - warn "grub-pc is not installed, not handling configuration" + warn "Grub is not installed, not handling configuration" exit 2 fi if [ "$FNRET" != 0 ]; then diff --git a/bin/hardening/1.7.1.2_enable_apparmor.sh b/bin/hardening/1.7.1.2_enable_apparmor.sh index b07b9cf..5975365 100755 --- a/bin/hardening/1.7.1.2_enable_apparmor.sh +++ b/bin/hardening/1.7.1.2_enable_apparmor.sh @@ -33,7 +33,7 @@ audit() { done if [ "$ERROR" = 0 ]; then - is_pkg_installed "grub-pc" + is_pkg_installed "grub-common" if [ "$FNRET" != 0 ]; then if [ "$IS_CONTAINER" -eq 1 ]; then ok "Grub is not installed in container"