From 02b5c8e3a31e277fde4844b1921fe3f340b28c65 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 5 Jul 2013 16:21:50 +0200 Subject: [PATCH] dracut.sh: unset all LC_* and LANG saves 10% of time :-) --- dracut.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dracut.sh b/dracut.sh index c3846ed25..cfa25ca0e 100755 --- a/dracut.sh +++ b/dracut.sh @@ -500,6 +500,10 @@ for i in /usr/sbin /sbin /usr/bin /bin; do fi done export PATH="${NPATH#:}" +unset LC_MESSAGES +unset LC_CTYPE +export LC_ALL=C +export LANG=C unset NPATH unset LD_LIBRARY_PATH unset GREP_OPTIONS -- 2.47.3