Magellan Linux

Diff of /smage/trunk/core/slim/mcore/files/slim.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1269 by niro, Sat Jan 29 12:33:02 2011 UTC revision 1270 by niro, Fri Feb 4 21:40:21 2011 UTC
# Line 28  case $1 in Line 28  case $1 in
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   ;;   ;;

Legend:
Removed from v.1269  
changed lines
  Added in v.1270