Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 803d9641dacc6246d211f10a18104383 > files > 11

initscripts-9.55-24.mga6.src.rpm

diff -Nurp initscripts-9.55.orig/prefdm initscripts-9.55/prefdm
--- initscripts-9.55.orig/prefdm	2016-07-22 02:32:43.000000000 +0300
+++ initscripts-9.55/prefdm	2016-07-22 02:39:04.352165458 +0300
@@ -43,8 +43,8 @@ if [ -f /etc/sysconfig/desktop ]; then
 	[ -z "$DISPLAYMANAGER" ] && DISPLAYMANAGER=$DESKTOP
 	if [ "$DISPLAYMANAGER" = "GDM" -o "$DISPLAYMANAGER" = "gdm" -o "$DISPLAYMANAGER" = "GNOME" -o "$DISPLAYMANAGER" = "gnome" -o "$DISPLAYMANAGER" = "Gnome" ]; then
 	    dm=GNOME
-	elif [ "$DISPLAYMANAGER" = "KDM" -o "$DISPLAYMANAGER" = "kdm" -o "$DISPLAYMANAGER" = "KDE" -o "$DISPLAYMANAGER" = "kde" ]; then
-	    dm=KDM
+	elif [ "$DISPLAYMANAGER" = "SDDM" -o "$DISPLAYMANAGER" = "sddm" -o "$DISPLAYMANAGER" = "PLASMA5" -o "$DISPLAYMANAGER" = "plasma5" ]; then
+	    dm=SDDM
 	elif [ "$DISPLAYMANAGER" = "WDM" -o "$DISPLAYMANAGER" = "wdm" ] ; then
 	    dm=WDM
 	    plymouth_quit=yes
@@ -72,7 +72,7 @@ preferred=`/etc/X11/lookupdm "$dm"`
 
 # Fallbacks, in order
 exec gdm "$@" >/dev/null 2>&1 </dev/null
-exec kdm "$@" >/dev/null 2>&1 </dev/null
+exec sddm "$@" >/dev/null 2>&1 </dev/null
 
 # catch all exit error
 [ -x /bin/plymouth ] && /bin/plymouth quit
diff -Nurp initscripts-9.55.orig/sysconfig.txt initscripts-9.55/sysconfig.txt
--- initscripts-9.55.orig/sysconfig.txt	2016-07-22 02:32:43.000000000 +0300
+++ initscripts-9.55/sysconfig.txt	2016-07-22 02:37:21.872273352 +0300
@@ -84,9 +84,9 @@ Generic options:
     
 /etc/sysconfig/desktop:
 
-  DESKTOP=GNOME|KDE
+  DESKTOP=GNOME|PLASMA5
      This determines the default desktop for new users.
-  DISPLAYMANAGER=GNOME|KDE|KDM|XDM
+  DISPLAYMANAGER=GNOME|SDDM|XDM
      This determines display manager started by /etc/X11/prefdm,
      independent of the desktop.