summaryrefslogtreecommitdiffstats
path: root/xorg-xdm/xdm
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:42:14 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:42:14 +0200
commit704ded6ebd246313840562ed7fe31036821c381b (patch)
tree6732661aeae0aa35842d26862f8e8df83886ad28 /xorg-xdm/xdm
parent5f914a566e420428ebe36b24a0588751b1865ba9 (diff)
downloadnutyx-extra-704ded6ebd246313840562ed7fe31036821c381b.tar.gz
nutyx-extra-704ded6ebd246313840562ed7fe31036821c381b.tar.bz2
nutyx-extra-704ded6ebd246313840562ed7fe31036821c381b.tar.xz
nutyx-extra-704ded6ebd246313840562ed7fe31036821c381b.zip
Revert "xorg dans nutyx-pakxe , la base"
This reverts commit e9ef802a013ac393a057134f1fdaad745aa38573.
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