28 |
start-stop-daemon --stop --quiet --exe /usr/bin/slim |
start-stop-daemon --stop --quiet --exe /usr/bin/slim |
29 |
evaluate_retval |
evaluate_retval |
30 |
|
|
31 |
|
# chvt to 1 |
32 |
|
if [[ ${runlevel} != reboot ]] || [[ ${runlevel} != shutdown ]] |
33 |
|
then |
34 |
|
# only do it, if fbsplash is *not* running (busybox hack) |
35 |
|
if [[ -z $(pidof fbsplash) ]] |
36 |
|
then |
37 |
|
# wait until slim was stopped - ugly hack |
38 |
|
while [[ -z $(pidof slim) ]]; do sleep 0.1; done |
39 |
|
[[ $(fgconsole) -ne 1 ]] && chvt 1 |
40 |
|
fi |
41 |
|
fi |
42 |
|
|
43 |
update_svcstatus $1 |
update_svcstatus $1 |
44 |
splash svc_stopped "$(basename $0)" 0 |
splash svc_stopped "$(basename $0)" 0 |
45 |
;; |
;; |