diff options
Diffstat (limited to 'recipes/sysvinit/sysvinit/angstrom/rc')
-rwxr-xr-x | recipes/sysvinit/sysvinit/angstrom/rc | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/recipes/sysvinit/sysvinit/angstrom/rc b/recipes/sysvinit/sysvinit/angstrom/rc index 6c5f4ca2ec..d1798ede39 100755 --- a/recipes/sysvinit/sysvinit/angstrom/rc +++ b/recipes/sysvinit/sysvinit/angstrom/rc @@ -18,18 +18,21 @@ . /etc/default/rcS if [ -f /etc/default/splashfuncs ]; then . /etc/default/splashfuncs + export SPLASH="1" fi export VERBOSE startup_progress() { - step=$(($step + $step_change)) - if [ "$num_steps" != "0" ]; then - progress=$((($step * $progress_size / $num_steps) + $first_step)) - else - progress=$progress_size - fi - #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" - status_position $progress || true + if [ "$SPLASH" = "1" ] ; then + step=$(($step + $step_change)) + if [ "$num_steps" != "0" ] ; then + progress=$((($step * $progress_size / $num_steps) + $first_step)) + else + progress=$progress_size + fi + #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" + status_position $progress || true + fi } |