From: Harald Hoyer Date: Fri, 5 Jul 2013 14:21:50 +0000 (+0200) Subject: dracut.sh: unset all LC_* and LANG X-Git-Tag: 030~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02b5c8e3a31e277fde4844b1921fe3f340b28c65;p=thirdparty%2Fdracut.git dracut.sh: unset all LC_* and LANG saves 10% of time :-) --- 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