2022-05-20 14:46:38 -04:00
|
|
|
## Copyright (C) 2019 - 2022 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
2021-09-06 08:19:41 -04:00
|
|
|
## See the file COPYING for copying conditions.
|
|
|
|
|
|
|
|
## Prevent kernel info leaks in console during boot.
|
|
|
|
## https://phabricator.whonix.org/T950
|
2022-06-29 11:40:38 -04:00
|
|
|
|
2021-09-06 08:19:41 -04:00
|
|
|
## LANG=C str_replace is provided by package helper-scripts.
|
2022-06-29 11:40:38 -04:00
|
|
|
|
|
|
|
## The following command actually removed "quiet" from the kernel command line.
|
|
|
|
## If verbosity is desired, the user might want to keep this line.
|
2021-09-06 08:19:41 -04:00
|
|
|
## 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" "")"
|
2022-06-29 11:40:38 -04:00
|
|
|
|
|
|
|
## If verbosity is desired, the user might want to out-comment the following line.
|
2021-09-12 11:40:58 -04:00
|
|
|
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT quiet loglevel=0"
|
2022-06-29 11:34:55 -04:00
|
|
|
|
|
|
|
## NOTE:
|
2022-06-29 11:40:38 -04:00
|
|
|
## After editing this file, running:
|
|
|
|
## sudo update-grub
|
|
|
|
## is required.
|
|
|
|
##
|
|
|
|
## If higher verbosity is desired, the user might also want to delete file
|
2022-06-29 11:34:55 -04:00
|
|
|
## /etc/sysctl.d/30_silent-kernel-printk.conf
|
|
|
|
## (or out-comment its settings).
|
|
|
|
##
|
|
|
|
## Alternatively, the user could consider to install the debug-misc package,
|
|
|
|
## which will undo the settings found here.
|