16 lines
427 B
Plaintext
16 lines
427 B
Plaintext
$OpenBSD: patch-startkde,v 1.7 2005/01/31 16:58:22 espie Exp $
|
|
--- startkde.orig Sun Nov 28 18:24:49 2004
|
|
+++ startkde Mon Jan 31 14:44:28 2005
|
|
@@ -3,6 +3,11 @@
|
|
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.3.2 )
|
|
#
|
|
|
|
+case X"$DISPLAY" in
|
|
+X)
|
|
+ exec /usr/X11R6/bin/startx $0;;
|
|
+esac
|
|
+
|
|
# When the X server dies we get a HUP signal from xinit. We must ignore it
|
|
# because we still need to do some cleanup.
|
|
trap 'echo GOT SIGHUP' HUP
|