-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 martin f krafft wrote: > > also sprach Andreas Fester <[EMAIL PROTECTED]> [2006.06.01.1935 +0200]: >> >> log_action_msg "Starting RAID devices ..." > > > > log_action_msg is supposed to be used to log an atomic message, > > which is not the case the way we/you use it here.
why did I already expect that without having read the documentation? :-( module-init-tools also use the lsb functions, but they use a raw "echo" to print the module list, one module per line. Probably not the solution you are looking for ... Another possibility: log_begin_msg "Starting RAID devices ..." log_success_msg " /dev/md0 has been started with 3 drives." log_success_msg " /dev/md1 has been started with 3 drives." log_failure_msg " /dev/md2 assembled from 2 drives - need all 3 to start it" log_failure_msg " /dev/md3 assembled from 1 drive - not enough to start the array." log_success_msg " /dev/md4 has been started with 3 drives." log_failure_msg "... done assembling RAID devices: failed." but I did not have a look into the log_failure_msg and log_success_msg constraints. I think there are no other possibilities because all other functions internalls use "echo -n", and adding the line feed manually might also not be what you want... Regards, Andreas - -- Andreas Fester mailto:[EMAIL PROTECTED] WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfyxjZ3bQVzeW+rsRAt8qAJ4hIS/3TYtjC0UT/awzh3/TKDZPVwCggbMx Dl+KYP3c3nYpDH+Lwxfqxt0= =Bl++ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]