summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-02-06 17:07:27 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-02-06 17:07:27 +0000
commit4f9242099e0b694bdc75f20523a04dc33e387259 (patch)
treee8843b3716f625f57583d0c643260bd440a6723c
parenteab98189d1074f0556e19b3d2c97d89a7627a6c6 (diff)
sysvinit: don't speak up if /proc/progress is not there.
BKrev: 42064ecf5j2vNZGV4FXHTum8i66txA
-rw-r--r--packages/sysvinit/sysvinit/rcS6
-rw-r--r--packages/sysvinit/sysvinit_2.86.bb2
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/sysvinit/sysvinit/rcS b/packages/sysvinit/sysvinit/rcS
index e9426a7803..9903d33190 100644
--- a/packages/sysvinit/sysvinit/rcS
+++ b/packages/sysvinit/sysvinit/rcS
@@ -32,14 +32,12 @@ fi
trap ":" INT QUIT TSTP
#
-# Do we have /proc/progress and want to have a progress display?
+# Do we have /proc/progress and set VERBOSE to "no" ?
# If so, calculate the number of scripts and the incremental step
#
if [ "$VERBOSE" = no ]; then
mount /proc
- if [ ! -e /proc/progress ]; then
- echo "INIT: VERBOSE=no requested, but /proc/progress not available."
- else
+ if [ -e /proc/progress ]; then
set `ls -1 /etc/rc$runlevel.d/S* | wc`
numscripts=$1
PROGRESS_incstep=`expr 90 / $1`
diff --git a/packages/sysvinit/sysvinit_2.86.bb b/packages/sysvinit/sysvinit_2.86.bb
index 2b85bc000a..36b7812f78 100644
--- a/packages/sysvinit/sysvinit_2.86.bb
+++ b/packages/sysvinit/sysvinit_2.86.bb
@@ -3,7 +3,7 @@ SECTION = "base"
LICENSE = "GPL"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
-PR = "r10"
+PR = "r11"
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.