aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-01-23 17:30:21 +0100
committerTom Gundersen <teg@jklm.no>2011-04-01 15:13:57 +0200
commit4ddda19196ab0bddd8eee3b7ebb857463adc467e (patch)
tree4278c411b6f8fb43ae92abaf9b0603f8586c2e15 /rc.sysinit
parent9ddc3214babae7110ca80dad12d6b0d74d75defd (diff)
downloadinitscripts-4ddda19196ab0bddd8eee3b7ebb857463adc467e.tar.xz
status: synchronise the status message
This trivial patch moves the start of the LOCALE status message to before the first command. This should not make a difference, as all the commands should be instantaneos, but might be helpful in case of a bug. v2: simplified after suggestion from Seblu Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 9d7c250..c1b442e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -341,12 +341,11 @@ fi
status "Updating Module Dependencies" /sbin/depmod -A
+stat_busy "Setting Locale: ${LOCALE:=en_US}"
# Flush old locale settings
: >| /etc/profile.d/locale.sh
/bin/chmod 755 /etc/profile.d/locale.sh
# Set user defined locale
-[[ $LOCALE ]] || LOCALE="en_US"
-stat_busy "Setting Locale: $LOCALE"
echo "export LANG=$LOCALE" >>/etc/profile.d/locale.sh
stat_done