This commit is contained in:
Patrick Schleizer 2022-06-29 11:40:38 -04:00
parent 72908d6b0d
commit 67eaf8c916
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -3,13 +3,23 @@
## Prevent kernel info leaks in console during boot.
## https://phabricator.whonix.org/T950
## LANG=C str_replace is provided by package helper-scripts.
## The following command actually removed "quiet" from the kernel command line.
## If verbosity is desired, the user might want to keep this line.
## Remove "quiet" from GRUB_CMDLINE_LINUX_DEFAULT because "quiet" must be first.
GRUB_CMDLINE_LINUX_DEFAULT="$(echo "$GRUB_CMDLINE_LINUX_DEFAULT" | LANG=C str_replace "quiet" "")"
## If verbosity is desired, the user might want to out-comment the following line.
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT quiet loglevel=0"
## NOTE:
## For higher verbosity, the user might also want to delete file
## After editing this file, running:
## sudo update-grub
## is required.
##
## If higher verbosity is desired, the user might also want to delete file
## /etc/sysctl.d/30_silent-kernel-printk.conf
## (or out-comment its settings).
##