aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-31 19:31:00 +0000
committerBill Nottingham <notting@redhat.com>2006-10-31 19:31:00 +0000
commit11a0cc1a2668efdf63273c0e994bd5241cb8a324 (patch)
treea9fc0eb4ef731381f065ca24e4c12a22d41bbcd7
parentd4e3dc3a7ea0113356dfae3ecbdc8f48f393496e (diff)
downloadinitscripts-11a0cc1a2668efdf63273c0e994bd5241cb8a324.tar
initscripts-11a0cc1a2668efdf63273c0e994bd5241cb8a324.tar.gz
initscripts-11a0cc1a2668efdf63273c0e994bd5241cb8a324.tar.bz2
initscripts-11a0cc1a2668efdf63273c0e994bd5241cb8a324.tar.xz
initscripts-11a0cc1a2668efdf63273c0e994bd5241cb8a324.zip
fix gdm in CJKI (#209579)
-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