## Copyright (C) 2019 - 2022 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. ## Prevent kernel info leaks in console during boot. ## https://phabricator.whonix.org/T950 ## LANG=C str_replace is provided by package helper-scripts. ## 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" "")" GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT quiet loglevel=0" ## NOTE: ## For higher verbosity, the user might also want to delete file ## /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.