summaryrefslogtreecommitdiff
path: root/desktop/slim/rc.slim
blob: 056a1638429844a2c9b41e7b83b324f466f7d383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# /etc/rc.d/slim: start/stop slim
#

case $1 in
start)
	/usr/bin/slim -d
	;;
stop)
	killall /usr/bin/slim
	rm -f /var/run/slim.lock
	;;
restart)
	$0 stop
	sleep 2
	$0 start
	;;
*)
	echo "usage: $0 [start|stop|restart]"
	;;
esac

# End of file