grub: set ibt=off via drop in file
This commit is contained in:
parent
f9ed84e944
commit
1a40ada700
1 changed files with 6 additions and 0 deletions
6
etc/default/grub.d/00_garuda-kernel-params.cfg
Normal file
6
etc/default/grub.d/00_garuda-kernel-params.cfg
Normal 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
|
Loading…
Reference in a new issue