summaryrefslogtreecommitdiffstats
path: root/xorg-xdm/xdm
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot org>2012-04-03 18:01:11 +0200
committertnut <tnut at nutyx dot org>2012-04-03 18:01:11 +0200
commit55ba00459776d78ef447c3c022fd2d5185b1c9ce (patch)
tree76d0c7299dffa0de9c8b726545b0a94673deb0d8 /xorg-xdm/xdm
parentcd99c50dcdba009792602bada286d9422dbdcee7 (diff)
downloadnutyx-pakxe-55ba00459776d78ef447c3c022fd2d5185b1c9ce.tar.gz
nutyx-pakxe-55ba00459776d78ef447c3c022fd2d5185b1c9ce.tar.bz2
nutyx-pakxe-55ba00459776d78ef447c3c022fd2d5185b1c9ce.tar.xz
nutyx-pakxe-55ba00459776d78ef447c3c022fd2d5185b1c9ce.zip
ajout de xorg
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