From 4f9242099e0b694bdc75f20523a04dc33e387259 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 6 Feb 2005 17:07:27 +0000 Subject: sysvinit: don't speak up if /proc/progress is not there. BKrev: 42064ecf5j2vNZGV4FXHTum8i66txA --- packages/sysvinit/sysvinit/rcS | 6 ++---- packages/sysvinit/sysvinit_2.86.bb | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'packages') 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 " 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. -- cgit v1.2.3