summaryrefslogtreecommitdiffstats
path: root/src/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/initramfs')
-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 00c6de02..6a608dca 100644
--- a/src/initramfs/distro-specs/ubuntu/functions-default
+++ b/src/initramfs/distro-specs/ubuntu/functions-default
@@ -166,6 +166,7 @@ dlocale () {
# echo -e "\t# entries added by $0: $date" >> /mnt/etc/init.d/boot.slx
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}\"\nLANGUAGE=\"${LANG}\":en" >> /mnt/etc/default/locale
}
# function for ntp configuration