summaryrefslogtreecommitdiffstats
path: root/xorg-xdm/xdm
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /xorg-xdm/xdm
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
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