pandora-misc: Add op_test_inputs to recipe.
[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         /usr/bin/slim -d &
13         ;;
14 stop)
15         killall /usr/bin/slim
16         ;;
17 restart)
18         $0 stop
19         sleep 2
20         $0 start
21         ;;
22 *)
23         echo "usage: $0 [start|stop|restart]"
24         ;;
25 esac
26
27 # End of file