summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-xdm/xdm
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-27 22:19:24 +0100
committerThierry N <thierryn1 at hispeed dot ch>2009-10-27 22:19:24 +0100
commita62d4a989569202f2f3f705be8372e20946584dc (patch)
treee7b746e219af7e86846911b1c8fc0193bc8baec9 /xorg/xorg-xdm/xdm
parent3f35c4a2d51684cacf42e5606526529d3579162a (diff)
downloadnutyx-extra-a62d4a989569202f2f3f705be8372e20946584dc.tar.gz
nutyx-extra-a62d4a989569202f2f3f705be8372e20946584dc.tar.bz2
nutyx-extra-a62d4a989569202f2f3f705be8372e20946584dc.tar.xz
nutyx-extra-a62d4a989569202f2f3f705be8372e20946584dc.zip
Ajout de xorg-xdm#1.1.8-1
Diffstat (limited to 'xorg/xorg-xdm/xdm')
-rwxr-xr-xxorg/xorg-xdm/xdm23
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg/xorg-xdm/xdm b/xorg/xorg-xdm/xdm
new file mode 100755
index 000000000..60d591a20
--- /dev/null
+++ b/xorg/xorg-xdm/xdm
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# /etc/rc.d/xdm: start/stop xdm
+#
+
+case $1 in
+start)
+ /usr/bin/xdm
+ ;;
+stop)
+ killall -q /usr/bin/xdm
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart]"
+ ;;
+esac
+
+# End of file