aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sysvinit/sysvinit
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 /packages/sysvinit/sysvinit
parenteab98189d1074f0556e19b3d2c97d89a7627a6c6 (diff)
downloadopenembedded-4f9242099e0b694bdc75f20523a04dc33e387259.tar.gz
sysvinit: don't speak up if /proc/progress is not there.
BKrev: 42064ecf5j2vNZGV4FXHTum8i66txA
Diffstat (limited to 'packages/sysvinit/sysvinit')
-rw-r--r--packages/sysvinit/sysvinit/rcS6
1 files changed, 2 insertions, 4 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`