diff options
author | Koen Kooi <koen@openembedded.org> | 2006-11-14 12:58:44 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-11-14 12:58:44 +0000 |
commit | 9cf5247c31ac3698bf4529dae2554c32ac46f73a (patch) | |
tree | 4deec3dcf35cc2ab16133695bb40ebb0f16adbdb /packages/sysvinit | |
parent | bcf9873f703cf10d51bcd4800a959079cf6ce41c (diff) |
sysvinit: attempt to fix #1582
Diffstat (limited to 'packages/sysvinit')
-rwxr-xr-x | packages/sysvinit/sysvinit/angstrom/rc | 12 | ||||
-rw-r--r-- | packages/sysvinit/sysvinit_2.86.bb | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/packages/sysvinit/sysvinit/angstrom/rc b/packages/sysvinit/sysvinit/angstrom/rc index fb49720455..7716a52099 100755 --- a/packages/sysvinit/sysvinit/angstrom/rc +++ b/packages/sysvinit/sysvinit/angstrom/rc @@ -1,4 +1,5 @@ #!/bin/sh + # # rc This file is responsible for starting/stopping # services when the runlevel changes. @@ -18,13 +19,14 @@ . /etc/default/rcS export VERBOSE -if [ $(($num_steps + $first_step)) -lt 1 ]; then - numsteps="10" - first_step="1" -fi - startup_progress() { step=$(($step + $step_change)) + + if [ $(($num_steps + $first_step)) -lt 1 ]; then + numsteps="1" + first_step="0" + fi + progress=$(($step * $progress_size / $num_steps + $first_step)) if type psplash-write >/dev/null 2>&1; then TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true diff --git a/packages/sysvinit/sysvinit_2.86.bb b/packages/sysvinit/sysvinit_2.86.bb index 5fa21607e0..aa7aa83351 100644 --- a/packages/sysvinit/sysvinit_2.86.bb +++ b/packages/sysvinit/sysvinit_2.86.bb @@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init." SECTION = "base" LICENSE = "GPL" HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" -PR = "r30" +PR = "r31" # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. # Set PACKAGE_ARCH appropriately. |