From ea05f15bb4829bb5fae3847417375bdad7b9ca48 Mon Sep 17 00:00:00 2001
From: Joerg Schirottke <master@kanotix.com>
Date: Thu, 18 Apr 2013 17:29:23 +0200
Subject: gfxdetect update: enable TerminateServer in kdmrc

---
 config/chroot_local-hooks/gfxdetect | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/chroot_local-hooks/gfxdetect b/config/chroot_local-hooks/gfxdetect
index 01b139c..03ece1c 100755
--- a/config/chroot_local-hooks/gfxdetect
+++ b/config/chroot_local-hooks/gfxdetect
@@ -5,6 +5,7 @@ fi
 
 if [ -f /etc/kde4/kdm/kdmrc ]; then
  sed -i 's|\(ServerArgsLocal=-br -nolisten tcp\).*|\1 -dpi 96|' /etc/kde4/kdm/kdmrc
+ sed -i 's/.*\(TerminateServer=\).*/\1true/' /etc/kde4/kdm/kdmrc
 fi
 
 if [ -f /usr/share/initramfs-tools/scripts/init-bottom/01gfxdetect ]; then
-- 
cgit v1.0