summaryrefslogtreecommitdiffstats
path: root/extra/xorg-xdm/xdm
blob: 60d591a20ba3d1d024c277f42cf6122e29319547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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