aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 21:22:32 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 21:22:32 +0000
commit449aafc07527f8c530e7c9576e31d412a331a030 (patch)
treed046e6c4c8191776489cd224939af69e133c5bed /rc.d/init.d/functions
parent2f549b3f161d2fd0ed74eac79baef61be44174ea (diff)
downloadinitscripts-449aafc07527f8c530e7c9576e31d412a331a030.tar
initscripts-449aafc07527f8c530e7c9576e31d412a331a030.tar.gz
initscripts-449aafc07527f8c530e7c9576e31d412a331a030.tar.bz2
initscripts-449aafc07527f8c530e7c9576e31d412a331a030.tar.xz
initscripts-449aafc07527f8c530e7c9576e31d412a331a030.zip
fix up i18n stuff so it works
deal with new location of console-tools stuff fix network up/down logic
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index e6ee9b81..0ec784b6 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -20,6 +20,11 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
# Get a sane screen width
[ -z "$COLUMNS" ] && COLUMNS=80
+if [ -f /etc/sysconfig/i18n ] ; then
+ . /etc/sysconfig/i18n
+ LC_MESSAGES=$LANG
+fi
+
# Read in our configuration
if [ -z "$BOOTUP" ]; then
if [ -f /etc/sysconfig/init ]; then