Your message dated Sat, 23 Sep 2006 00:02:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#388624: fixed in sysv-rc-bootsplash 1.0.4-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sysv-rc-bootsplash
Version: 1.0.2-1
Severity: normal
Tags: patch

Hello,
I edited the patch provided by Pablo Chinea, and corrected the
misbehaviour of the progress bar during the shutdown. There was a
small bug, the variable step was reset to zero before executing the
Start scripts, after all the execution of all the Kill scripts. So the
progress bar was restarting.

I am attaching the patch against the current version of rc.bootsplash
included in 1.0.2-1 version of sysv-rc-bootsplash. I have also
attached the modified rc file rc.bootsplash.new . You can test it by
replacing the rc file in /etc/init.d/ with this.

BTW, the bootsplash package still does not include the splash.sh
provided by Pablo Chinea. Hope you upload the new version soon !

Regards
Varun


--
Varun Hiremath
Undergraduate Student,
Aerospace Engg. Department,
Indian Institute of Technology Madras,
Chennai, India
--------------------------------------------------------------------
web page : http://www.ae.iitm.ac.in/~ae03b032
--- rc.bootsplash	2006-09-21 19:07:25.000000000 +0530
+++ rc.bootsplash.new	2006-09-21 19:16:29.000000000 +0530
@@ -13,7 +13,8 @@
 # 	Miquel van Smoorenburg <[EMAIL PROTECTED]>
 # 	Bruce Perens <[EMAIL PROTECTED]>
 # 	Edited for bootsplash by Pablo Chinea <[EMAIL PROTECTED]>, 2006
-#
+#       Edited by Varun Hiremath <[EMAIL PROTECTED]>, 2006 
+#corrected misbehaviour of the progress bar during the shutdown sequence
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 export PATH
@@ -255,6 +256,10 @@
                 esac
                 num_steps=$(($num_steps + 1))
             done
+	    if [ "$runlevel" = "0" -o "$runlevel" = "6" ]
+	    then
+		num_steps=$(($num_steps - 1))   #To make sure the progress bar completes 100%
+	    fi
             step=0
 
 	# First, run the KILL scripts.
@@ -294,14 +299,13 @@
 				SCRIPTS="$SCRIPTS $i"
 			done
 			startup stop $SCRIPTS
-			rc_splash "$i stop"  # update bootsplash progress bar
+			rc_splash "${i#/etc/rc$runlevel.d/K[0-9][0-9]} stop"  # update bootsplash progress bar
 		done
 	fi
 
 	# Now run the START scripts for this runlevel.
 	# Run all scripts with the same level in parallel
 	CURLEVEL=""
-	step=0
 	for s in /etc/rc$runlevel.d/S*
 	do
 		level=$(echo $s | sed 's/.*\/S\([0-9][0-9]\).*/\1/')
@@ -334,7 +338,7 @@
 			SCRIPTS="$SCRIPTS $i"
 		done
 		startup $ACTION $SCRIPTS
-		rc_splash "$i $ACTION"  # update bootsplash progress bar
+		rc_splash "${i#/etc/rc$runlevel.d/S[0-9][0-9]} $ACTION"  # update bootsplash progress bar
 	done
 fi
 

Attachment: rc.bootsplash.new
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: sysv-rc-bootsplash
Source-Version: 1.0.4-1

We believe that the bug you reported is fixed in the latest version of
sysv-rc-bootsplash, which is due to be installed in the Debian FTP archive:

sysv-rc-bootsplash_1.0.4-1.diff.gz
  to pool/main/s/sysv-rc-bootsplash/sysv-rc-bootsplash_1.0.4-1.diff.gz
sysv-rc-bootsplash_1.0.4-1.dsc
  to pool/main/s/sysv-rc-bootsplash/sysv-rc-bootsplash_1.0.4-1.dsc
sysv-rc-bootsplash_1.0.4-1_all.deb
  to pool/main/s/sysv-rc-bootsplash/sysv-rc-bootsplash_1.0.4-1_all.deb
sysv-rc-bootsplash_1.0.4.orig.tar.gz
  to pool/main/s/sysv-rc-bootsplash/sysv-rc-bootsplash_1.0.4.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Free Ekanayaka <[EMAIL PROTECTED]> (supplier of updated sysv-rc-bootsplash 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 23 Sep 2006 07:34:11 +0200
Source: sysv-rc-bootsplash
Binary: sysv-rc-bootsplash
Architecture: source all
Version: 1.0.4-1
Distribution: unstable
Urgency: low
Maintainer: Free Ekanayaka <[EMAIL PROTECTED]>
Changed-By: Free Ekanayaka <[EMAIL PROTECTED]>
Description: 
 sysv-rc-bootsplash - Bootsplash patches for rc files
Closes: 388593 388624 388745
Changes: 
 sysv-rc-bootsplash (1.0.4-1) unstable; urgency=low
 .
   * Bug fix: "sysv-rc-bootsplash: misbehaviour of the progress bar during
     the shutdown", thanks to Varun Hiremath (Closes: #388624).
   * Bug fix: "sysv-rc-bootsplash: initramfs-tools scripts don't have to be
     patched", thanks to Pablo Chinea (Closes: #388745).
   * Bug fix: "sysv-rc-bootsplash: Please rework your debconf configuration
     system", thanks to Thomas Huriaux (Closes: #388593).
Files: 
 4335f4906afa629a394302eb22437c3a 605 base optional 
sysv-rc-bootsplash_1.0.4-1.dsc
 95e6a0651ab1e3650557f4a62160c85d 3384 base optional 
sysv-rc-bootsplash_1.0.4.orig.tar.gz
 c09e44aefc0f96d28b07c329326c7ece 4675 base optional 
sysv-rc-bootsplash_1.0.4-1.diff.gz
 8cc53f055be45b8ff453d278c5a608cf 6228 base optional 
sysv-rc-bootsplash_1.0.4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFFM0wcanJGlcVnlkRAl8JAKClcEkSMvYy2gX/vG36CkgOIS73RQCfSgqm
9V24cQNARJlBYq2lmkfk6fM=
=8mnp
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to