mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-31 15:20:23 +07:00
LANG=C str_replace
This commit is contained in:
@ -62,9 +62,9 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX extra_latent_entropy"
|
||||
|
||||
## Prevent kernel info leaks in console during boot.
|
||||
## https://phabricator.whonix.org/T950
|
||||
## str_replace is provided by package helper-scripts.
|
||||
## 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" | str_replace "quiet" "")"
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="$(echo "$GRUB_CMDLINE_LINUX_DEFAULT" | LANG=C str_replace "quiet" "")"
|
||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX quiet loglevel=0"
|
||||
|
||||
## Restrict access to debugfs since it can contain a lot of sensitive information.
|
||||
|
Reference in New Issue
Block a user