--- smage/trunk/core/slim/mcore/files/slim.rc 2011/02/04 21:40:21 1270 +++ smage/trunk/core/slim/mcore/files/slim.rc 2011/02/04 21:43:23 1271 @@ -28,17 +28,17 @@ start-stop-daemon --stop --quiet --exe /usr/bin/slim evaluate_retval - # chvt to 1 - if [[ ${runlevel} != reboot ]] || [[ ${runlevel} != shutdown ]] - then - # only do it, if fbsplash is *not* running (busybox hack) - if [[ -z $(pidof fbsplash) ]] - then - # wait until slim was stopped - ugly hack - while [[ -z $(pidof slim) ]]; do sleep 0.1; done - [[ $(fgconsole) -ne 1 ]] && chvt 1 - fi - fi +# # chvt to 1 +# if [[ ${runlevel} != reboot ]] || [[ ${runlevel} != shutdown ]] +# then +# # only do it, if fbsplash is *not* running (busybox hack) +# if [[ -z $(pidof fbsplash) ]] +# then +# # wait until slim was stopped - ugly hack +# while [[ -z $(pidof slim) ]]; do sleep 0.1; done +# [[ $(fgconsole) -ne 1 ]] && chvt 1 +# fi +# fi update_svcstatus $1 splash svc_stopped "$(basename $0)" 0 @@ -49,6 +49,7 @@ sleep 1 $0 start ;; + status) statusproc /usr/bin/slim ;;