25 lines
258 B
Plaintext
25 lines
258 B
Plaintext
![]() |
#!/bin/sh
|
||
|
#
|
||
|
# /etc/rc.d/xdm: start/stop xorg display manager
|
||
|
#
|
||
|
|
||
|
case $1 in
|
||
|
start)
|
||
|
. /etc/profile
|
||
|
/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
|