diff --git a/etc/default/grub.d/40_kernel_hardening.cfg b/etc/default/grub.d/40_kernel_hardening.cfg index 530c810..f3e3c6e 100644 --- a/etc/default/grub.d/40_kernel_hardening.cfg +++ b/etc/default/grub.d/40_kernel_hardening.cfg @@ -1,7 +1,7 @@ ## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -kver="$(uname -r)" +kver="$(dpkg-query --show --showformat='${Version}' linux-image-amd64)" #echo "## kver: $kver" ## Disables the merging of slabs of similar sizes.