summaryrefslogtreecommitdiffstats
path: root/xorg-xdm/xdm
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-18 23:16:03 +0100
committerLukc <lukc@upyum.com>2010-12-18 23:16:03 +0100
commit1fa6afb7311322fa5c2b9c22a9a37c810a2b3418 (patch)
tree5b5f63901a4d7337f2abea8c90daae0330c93a0b /xorg-xdm/xdm
downloadxorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.gz
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.bz2
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.xz
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.zip
Import automatique des recettes de Crux. (git://crux.nu/ports/xorg.git - branche 2.7)HEADmaster
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 0000000..60d591a
--- /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