summaryrefslogtreecommitdiff
path: root/config/chroot_local-patches/kdm_plymouth_hack.patch
blob: 6539f3ca67bdab9d2462cd2238760bf2e7b6efd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- /build/kanotix/chroot/etc/init.d/kdm	2011-02-12 20:16:11.000000000 +0100
+++ /etc/init.d/kdm	2011-09-28 04:05:22.977140278 +0200
@@ -126,6 +126,10 @@
        [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
       log_action_msg "Not starting K Display Manager (kdm); it is not the default display manager."
     else
+      log_action_msg "Killing plymouth..."
+      if pidof plymouthd >/dev/null; then
+        /bin/plymouth --quit --wait
+      fi
       log_daemon_msg "Starting K Display Manager" "kdm"
       if start-stop-daemon --start --quiet $SSD_ARGS -- $ARG ; then
         log_end_msg 0