diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 21 |
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 |