29 lines
283 B
D
29 lines
283 B
D
![]() |
#!/bin/sh
|
||
|
#
|
||
|
# /etc/rc.d/entrance: start/stop enlighted display manager
|
||
|
#
|
||
|
|
||
|
case $1 in
|
||
|
|
||
|
start)
|
||
|
/usr/bin/entranced
|
||
|
;;
|
||
|
|
||
|
stop)
|
||
|
pkill -f /usr/bin/entranced
|
||
|
;;
|
||
|
|
||
|
restart)
|
||
|
$0 stop
|
||
|
sleep 2
|
||
|
$0 start
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
echo "usage: $0 [start|stop|restart]"
|
||
|
;;
|
||
|
|
||
|
esac
|
||
|
|
||
|
# End of file
|