sysvinit: don't speak up if /proc/progress is not there.
authorMichael Lauer <mickey@vanille-media.de>
Sun, 6 Feb 2005 17:07:27 +0000 (17:07 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sun, 6 Feb 2005 17:07:27 +0000 (17:07 +0000)
BKrev: 42064ecf5j2vNZGV4FXHTum8i66txA

packages/sysvinit/sysvinit/rcS
packages/sysvinit/sysvinit_2.86.bb

index e9426a7..9903d33 100644 (file)
@@ -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`
index 2b85bc0..36b7812 100644 (file)
@@ -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.