aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1998-05-06 19:38:31 +0000
committerDonnie Barnes <djb@redhat.com>1998-05-06 19:38:31 +0000
commit12b8b6b479d757bd40696aaeaffc750bf15ee165 (patch)
tree1238a34b462fa2aa0c29aea9141a2cfa8ea8bce1 /rc.d
parentae9a0d81bae06fc0c6cd7923e8e8a33831f3ed25 (diff)
downloadinitscripts-12b8b6b479d757bd40696aaeaffc750bf15ee165.tar
initscripts-12b8b6b479d757bd40696aaeaffc750bf15ee165.tar.gz
initscripts-12b8b6b479d757bd40696aaeaffc750bf15ee165.tar.bz2
initscripts-12b8b6b479d757bd40696aaeaffc750bf15ee165.tar.xz
initscripts-12b8b6b479d757bd40696aaeaffc750bf15ee165.zip
added added sysconfig/i18n support
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit21
1 files changed, 21 insertions, 0 deletions
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