crux-ports/ports/x/xorg-xdm/xdm

24 lines
255 B
Plaintext
Raw Normal View History

2024-03-14 15:59:11 +00:00
#!/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