aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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