[Pkg-sysvinit-devel] Bug#457544: Bug#457544: "splash_progress: not found"-message

Petter Reinholdtsen pere at hungry.com
Sun Dec 23 12:50:29 UTC 2007


tags 457544 + patch
thanks

[Petter Reinholdtsen]
> The splash_progress function should be included from the initscripts
> package in experimental.  I guess some protective code need to be
> written, or the depends/conflicts need to be updated.

I had a closer look, and suggest this patch to make sure init.d/rc
keep quiet when used with old versions of initscripts.

Index: debian/sysv-rc/etc/init.d/rc
===================================================================
--- debian/sysv-rc/etc/init.d/rc        (revision 1085)
+++ debian/sysv-rc/etc/init.d/rc        (working copy)
@@ -42,6 +42,9 @@
 # Functions for splash progress bars
 if [ -e /lib/init/splash-functions-base ] ; then
     . /lib/init/splash-functions-base
+else
+    # Quiet down script if old initscripts version without /lib/init/splash-functions-base is used.
+    splash_progress() { return 1; }
 fi

 # Now find out what the current and what the previous runlevel are.

Can you please test it and let me know if it solve your problem?

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list