Eddy Petrișor wrote:

> 
> BTW: you didn't said anything about the messages idea. I know this would mean
> changes in all the packages which contain init scripts, but I think is good
> idea allowing some abstraction of the display.
> 

Most init scripts (from sysvinit) already use the output functions from
lsb-base (log_*_msg), which are in /lib/lsb/init-functions.
You can "overwrite" these functions, by installing a file as
/etc/lsb-base-logging.sh, which implements the log_*_msg their own way.
E.g. usplash does it that way. Instead of printing the message to stdout
on the console, the send the message to the usplash fifo, so it is
graphically displayed in usplash.
The lsb logging functions are not perfect, but a good start.

What's missing, is a set of input functions (e.g. needed for cryptsetup
to prompt for a password) which can be implemented independently from
having a tty.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to