diff options
-rw-r--r-- | initscripts.spec | 1 | ||||
-rwxr-xr-x | lang.sh | 4 | ||||
-rwxr-xr-x | prefdm | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/initscripts.spec b/initscripts.spec index ca590507..4c318678 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -22,6 +22,7 @@ Conflicts: mkinitrd < 4.0, kernel < 2.6.12 Conflicts: ypbind < 1.6-12, psacct < 6.3.2-12, kbd < 1.06-19, lokkit < 0.50-14 Conflicts: dhclient < 3.0.3-7 Conflicts: tcsh < 6.13-5 +Conflicts: xorg-x11 #Conflicts: diskdumputils < 1.1.0 Obsoletes: rhsound sapinit Obsoletes: hotplug @@ -61,8 +61,8 @@ if [ "$sourced" = 1 ]; then if [ -n "$LANG" ]; then case $LANG in *.utf8*|*.UTF-8*) - if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" -a $SHLVL -eq 1 ]; then - [ -x /bin/unicode_start ] && /sbin/consoletype fg && unicode_start $SYSFONT $SYSFONTACM + if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then + [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM fi ;; esac @@ -15,11 +15,11 @@ preferred= if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DISPLAYMANAGER" = GNOME ]; then - preferred=gdm + preferred=/usr/sbin/gdm elif [ "$DISPLAYMANAGER" = KDE ]; then - preferred=kdm + preferred=/usr/bin/kdm elif [ "$DISPLAYMANAGER" = XDM ]; then - preferred=xdm + preferred=/usr/bin/xdm elif [ -n "$DISPLAYMANAGER" ]; then preferred=$DISPLAYMANAGER fi |