git.openpandora.org
/
openpandora.oe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
slim: Add SLiM X desktop manager and patches to ensure it is secure and supports...
[openpandora.oe.git]
/
recipes
/
slim
/
slim
/
rc.slim
1
#! /bin/sh
2
### BEGIN INIT INFO
3
# Provides: slim
4
# Default-Start: 2 3 4 5
5
# Default-Stop: 0 1 6
6
# Short-Description: SLiM Display Manager (and wrapper script)
7
# Description: init script for the SLiM Display Manager
8
### END INIT INFO
9
10
case $1 in
11
start)
12
rm /var/run/slim.lock
13
/usr/bin/slim-dynwm -d
14
;;
15
stop)
16
killall /usr/bin/slim-dynwm
17
;;
18
restart)
19
$0 stop
20
sleep 2
21
$0 start
22
;;
23
*)
24
echo "usage: $0 [start|stop|restart]"
25
;;
26
esac
27
28
# End of file