[Splashy-devel] Commit UNIX sockets

Otavio Salvador otavio at debian.org
Thu Aug 17 19:15:25 UTC 2006


Tim Dijkstra <newsuser at famdijkstra.org> writes:

> Well, I think we can do it all in the log_*_msg functions. At moment 
> a script calls log_end_msg we know it is finished. All we have to do 
> is replace the log_end_msg function from lsb-base with our own. 
> In this function we determine the progress number and call
> update-splashy "progress $number", et voila.
> But indeed, we do however need to calculate the progress bar steps at
> some point. We could write a simple program that does this and stores
> it to a file under /lib. If could contain something like
>
> udev 3
> mountvirtfs 5
> lvm 8
> .
> .
>
> The log_end_msg could then realy easily get a progress number by awk
> or grep. Or we could build it in splashy_update, or splashy itself.

I like this idea but there's some regressions since first time it
won't know how many steps it'll take and also every time you add or
remove things from init it'll be wrong and just next time it'll work
well again. I think we need to keep the automatic detection of steps
somewhere.

Besides that, we can use lsb to output messages in verbose mode and
remove buffer handling.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



More information about the Splashy-devel mailing list