1
0
Fork 0
mirror of synced 2024-12-22 00:01:09 -05:00

grub: set ibt=off via drop in file

This commit is contained in:
TNE 2023-03-24 02:23:30 +01:00
parent f9ed84e944
commit 1a40ada700

View file

@ -0,0 +1,6 @@
if [[ ! $GRUB_CMDLINE_LINUX_DEFAULT =~ ibt=[^[:space:]]+ ]]; then
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT:+$GRUB_CMDLINE_LINUX_DEFAULT }ibt=off"
fi
if [ -z "${GRUB_DISABLE_OS_PROBER+x}" ]; then
GRUB_DISABLE_OS_PROBER=false
fi