From 12b8b6b479d757bd40696aaeaffc750bf15ee165 Mon Sep 17 00:00:00 2001 From: Donnie Barnes Date: Wed, 6 May 1998 19:38:31 +0000 Subject: added added sysconfig/i18n support --- rc.d/rc.sysinit | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c07d43ae..052b70b4 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -32,6 +32,22 @@ else domainname "" fi +if [ -f /etc/sysconfig/i18n ]; then + . /etc/sysconfig/i18n +fi + +if [ -n "$LANG" ]; then + export LANG +fi + +if [ -n "$LINGUAS" ]; then + export LINGUAS +fi + +if [ -n "$SYSTERM" ]; then + export TERM=$SYSTERM +fi + if [ -f /fsckoptions ]; then fsckoptions=`cat /fsckoptions` else @@ -199,6 +215,11 @@ fi echo "Mounting local filesystems." mount -a -t nonfs,proc +# set the console font +if [ -x /sbin/setsysfont ]; then + /sbin/setsysfont +fi + if [ -x /sbin/quotaon ]; then echo "Turning on user and group quotas for local filesystems" /sbin/quotaon -a -- cgit v1.2.1