diff options
author | Donnie Barnes <djb@redhat.com> | 1998-05-06 20:07:52 +0000 |
---|---|---|
committer | Donnie Barnes <djb@redhat.com> | 1998-05-06 20:07:52 +0000 |
commit | 2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da (patch) | |
tree | 9095d5c1229bf17133025c380ed21b7337830213 /lang.sh | |
parent | 3b4f87394c6d288e2644979eb88c8b9da6382340 (diff) | |
download | initscripts-2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da.tar initscripts-2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da.tar.gz initscripts-2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da.tar.bz2 initscripts-2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da.tar.xz initscripts-2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da.zip |
moved stuff to /etc/profile.d/lang.sh
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh new file mode 100755 index 00000000..5f17639f --- /dev/null +++ b/lang.sh @@ -0,0 +1,15 @@ +if [ -f /etc/sysconfig/i18n ]; then + . /etc/sysconfig/i18n + + if [ -n "$LANG" ]; then + export LANG + fi + + if [ -n "$LINGUAS" ]; then + export LINGUAS + fi + + if [ -n "$SYSTERM" ]; then + export TERM=$SYSTERM + fi +fi |