summaryrefslogtreecommitdiffstats
path: root/xorg-xdm/xdm
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
committerpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
commitf35fb119bf993d3454668f50a17334e09b77160b (patch)
tree9f1d840f10e24848f8b94eb9c5c4e811e0984232 /xorg-xdm/xdm
parent2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff)
parent933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff)
downloadnutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'xorg-xdm/xdm')
-rwxr-xr-xxorg-xdm/xdm23
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg-xdm/xdm b/xorg-xdm/xdm
new file mode 100755
index 000000000..60d591a20
--- /dev/null
+++ b/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