blob: e6e8e231dbb49adfc42ce0815366505601818093 (
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
25
26
27
28
29
|
#! /bin/sh
### BEGIN INIT INFO
# Provides: lxdm
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: LXDM Display Manager (and wrapper script)
# Description: init script for the LXDM Display Manager
# Copied from SLIM openembedded recipe
### END INIT INFO
case $1 in
start)
/usr/sbin/lxdm -d &> /dev/null
;;
stop)
killall /usr/sbin/lxdm
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file
|