aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/splash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/splash.sh')
-rw-r--r--scripts/splash.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index 63a02bc..09ac901 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -18,6 +18,12 @@ TEXTDOMAIN=bootsplash
TEXTDOMAINDIR=/etc/locale
LOCPATH=/etc/locale
+if [ -z "$LANGUAGE" ]
+then
+ . /etc/sysconfig/i18n
+ GP_LANG=${LANG}
+fi
+
# execute splash binary utility because we are a wrapper:
if [ "$1" == "-s" -o "$1" == "-u" -o "$1" == "-n" -o "$1" == "-f" ]; then
exec /sbin/splash $*