aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-31 19:30:40 +0000
committerBill Nottingham <notting@redhat.com>2006-10-31 19:30:40 +0000
commitfc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485 (patch)
treeb52886fc87a1741190df7da5ecf4045b28075021
parent3743544a00b8e8e8ba1f64ad4fa9d610975448b9 (diff)
downloadinitscripts-fc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485.tar
initscripts-fc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485.tar.gz
initscripts-fc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485.tar.bz2
initscripts-fc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485.tar.xz
initscripts-fc8b71f4bb04b5eb74dad8d5b593e5c1e14bc485.zip
fix gdm in CJKI (#120819)
-rwxr-xr-xprefdm10
1 files changed, 5 insertions, 5 deletions
diff --git a/prefdm b/prefdm
index b2a5c3f1..156b14e7 100755
--- a/prefdm
+++ b/prefdm
@@ -8,7 +8,7 @@ if [ -x /usr/bin/rhgb-client ]; then
fi
# We need to source this so that the login screens get translated
-[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
+[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
# Run preferred X display manager
preferred=
@@ -27,12 +27,12 @@ fi
shopt -s execfail
-[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1
+[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 </dev/null
# Fallbacks, in order
-exec gdm "$@" >/dev/null 2>&1
-exec kdm "$@" >/dev/null 2>&1
-exec xdm "$@" >/dev/null 2>&1
+exec gdm "$@" >/dev/null 2>&1 </dev/null
+exec kdm "$@" >/dev/null 2>&1 </dev/null
+exec xdm "$@" >/dev/null 2>&1 </dev/null
# catch all exit error
exit 1