24 lines
255 B
Plaintext
24 lines
255 B
Plaintext
|
#!/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
|