summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/chroot_local-patches/kdm_plymouth_hack.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/config/chroot_local-patches/kdm_plymouth_hack.patch b/config/chroot_local-patches/kdm_plymouth_hack.patch
index 3b81a1a..6539f3c 100644
--- a/config/chroot_local-patches/kdm_plymouth_hack.patch
+++ b/config/chroot_local-patches/kdm_plymouth_hack.patch
@@ -1,11 +1,13 @@
---- /build/kanotix/chroot/etc/init.d/kdm 2011-09-28 03:04:16.794899000 +0200
+--- /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
-@@ -129,8 +129,6 @@
- log_action_msg "Killing plymouth..."
- if pidof plymouthd >/dev/null; then
- /bin/plymouth --quit --wait
-- /bin/plymouth --wait
-- sleep 1
- fi
+@@ -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