summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-workspace/kdm
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:01:36 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:01:36 +0200
commitb912c395f22ebeafb6275ae40960343f5809932f (patch)
treeff38012773bcc333bf9cf8bf132f59bce01080f8 /kde/kdebase-workspace/kdm
parentd7f84daa9945feaf7faa34e650944ad461c2d9cd (diff)
downloadnutyx-extra-b912c395f22ebeafb6275ae40960343f5809932f.tar.gz
nutyx-extra-b912c395f22ebeafb6275ae40960343f5809932f.tar.bz2
nutyx-extra-b912c395f22ebeafb6275ae40960343f5809932f.tar.xz
nutyx-extra-b912c395f22ebeafb6275ae40960343f5809932f.zip
Ajout de kdebase-workspace#4.3.0-1
Diffstat (limited to 'kde/kdebase-workspace/kdm')
-rwxr-xr-xkde/kdebase-workspace/kdm33
1 files changed, 33 insertions, 0 deletions
diff --git a/kde/kdebase-workspace/kdm b/kde/kdebase-workspace/kdm
new file mode 100755
index 000000000..87438484b
--- /dev/null
+++ b/kde/kdebase-workspace/kdm
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Begin $rc_base/init.d/xdm
+
+# $Id: kdm,v 1.4 2008/01/20 22:50:09 install Exp install $
+
+. /etc/sysconfig/rc
+. $rc_functions
+pidfile=/var/run/kdm.pid
+case "$1" in
+ start)
+ boot_mesg "Starting KDM"
+ export HOME=/root
+ cd $HOME
+ /opt/kde/bin/kdm
+ ;;
+ stop)
+ boot_mesg "Stopping KDM"
+ if [ -f $pidfile ]; then
+ kill `cat $pidfile`
+ rm $pidfile
+ fi
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "Usage: $0 start|stop|restart"
+ ;;
+esac
+
+# End of file
+