summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2011-03-29 22:03:31 +0200
committerDirk von Suchodoletz2011-03-29 22:03:31 +0200
commit8b301b212ba376a0e31f6ad3252b515e94548938 (patch)
tree06080effd7f5df555c5daf590c85d70c754a4d56 /src/initramfs/distro-specs/ubuntu/functions-default
parentWait wait a bit longer on mounting local filesystems and change language (diff)
downloadcore-8b301b212ba376a0e31f6ad3252b515e94548938.tar.gz
core-8b301b212ba376a0e31f6ad3252b515e94548938.tar.xz
core-8b301b212ba376a0e31f6ad3252b515e94548938.zip
Locale environment for newer Ubuntus ...
Diffstat (limited to 'src/initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--src/initramfs/distro-specs/ubuntu/functions-default1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initramfs/distro-specs/ubuntu/functions-default b/src/initramfs/distro-specs/ubuntu/functions-default
index 56aba8b8..6022a2e9 100644
--- a/src/initramfs/distro-specs/ubuntu/functions-default
+++ b/src/initramfs/distro-specs/ubuntu/functions-default
@@ -168,6 +168,7 @@ sed -e "1i# File modified during SLX stage3 bootup (config_distro)" \
-e "s/LANG.*/LANG=\"${LANG}\"/" -i /mnt/etc/default/locale
echo "LC_ALL=\"${LANG}\"" >> /mnt/etc/default/locale
echo "LANGUAGE=\"${LANG}:en\"" >> /mnt/etc/default/locale
+echo "LC_ALL=\"${LANG}\"" >> /mnt/etc/environment
}
# function for ntp configuration