]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
skeleton: apply locale settings in user shells
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sun, 12 Jul 2015 22:55:13 +0000 (00:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 20:35:59 +0000 (22:35 +0200)
commitd3c8da4dd4a0094f7ffd337a1d874d3deae77693
tree7d6e72b1f1c098fef684c4ea63d28475f63bf5aa
parentaac3f315d9f4ec08728778e08a633f3b193522ed
skeleton: apply locale settings in user shells

Add /etc/profile.d/locale.sh script from Arch Linux to /etc/profile.
This script looks for locale.conf, sources it, and exports the LANG and
LC_* variables.

[Arnout: put in /etc/profile in the skeleton rather than making it
 systemd specific.]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
system/skeleton/etc/profile