aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1998-05-06 20:07:52 +0000
committerDonnie Barnes <djb@redhat.com>1998-05-06 20:07:52 +0000
commit2fbfc3f8fbfd8d2935c5f3ea923c7c90e685c2da (patch)
tree9095d5c1229bf17133025c380ed21b7337830213 /lang.sh
parent3b4f87394c6d288e2644979eb88c8b9da6382340 (diff)
downloadinitscripts-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-xlang.sh15
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