Magellan Linux

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

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

revision 1270 by niro, Fri Feb 4 21:40:21 2011 UTC revision 1271 by niro, Fri Feb 4 21:43:23 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  # # chvt to 1
32   if [[ ${runlevel} != reboot ]] || [[ ${runlevel} != shutdown ]]  # if [[ ${runlevel} != reboot ]] || [[ ${runlevel} != shutdown ]]
33   then  # then
34   # only do it, if fbsplash is *not* running (busybox hack)  # # only do it, if fbsplash is *not* running (busybox hack)
35   if [[ -z $(pidof fbsplash) ]]  # if [[ -z $(pidof fbsplash) ]]
36   then  # then
37   # wait until slim was stopped - ugly hack    # # wait until slim was stopped - ugly hack  
38   while [[ -z $(pidof slim) ]]; do sleep 0.1; done  # while [[ -z $(pidof slim) ]]; do sleep 0.1; done
39   [[ $(fgconsole) -ne 1 ]] && chvt 1  # [[ $(fgconsole) -ne 1 ]] && chvt 1
40   fi  # fi
41   fi  # fi
42    
43   update_svcstatus $1   update_svcstatus $1
44   splash svc_stopped "$(basename $0)" 0   splash svc_stopped "$(basename $0)" 0
# Line 49  case $1 in Line 49  case $1 in
49   sleep 1   sleep 1
50   $0 start   $0 start
51   ;;   ;;
52    
53   status)   status)
54   statusproc /usr/bin/slim   statusproc /usr/bin/slim
55   ;;   ;;

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