--- trunk/initscripts/busybox/rc/rc 2012/04/02 11:27:25 1789 +++ trunk/initscripts/busybox/rc/rc 2012/04/19 15:21:42 1808 @@ -34,6 +34,8 @@ trap "" INT QUIT TSTP [ "$1" != "" ] && runlevel=$1 +# export runlevel variable to make it accessible for other rc-scripts +export runlevel if [[ $runlevel = sysinit ]] then @@ -180,7 +182,7 @@ done fi -if [[ ${runlevel} = boot ]] +if [[ ${runlevel} = boot ]] || [[ ${runlevel} = shutdown ]] || [[ ${runlevel} = reboot ]] then # exit bootsplash splash "rc_exit" "${runlevel}"