mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-04 01:24:16 -04:00
LANG=C str_replace
This commit is contained in:
parent
ef2b067c03
commit
db43cedcfd
3 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue