]> code.ossystems Code Review - openembedded-core.git/commitdiff
lsb: add begin function to lsb_log_message
authorPaul Barrette <paul.barrette@windriver.com>
Tue, 29 Oct 2013 20:52:04 +0000 (16:52 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2013 17:33:06 +0000 (17:33 +0000)
Some init scripts call a "begin" action to log early init phase
messages, e.g. openvswitch-controller.  Add the "begin" function to
lsb_log_message.

Signed-off-by: Paul Barrette <paul.barrette@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/lsb/lsb/lsb_log_message

index 2995f781e063601b9ecb11478889ca9826d4798d..9daa9c8c41097bcda4aa46e18273661d412819bc 100755 (executable)
@@ -21,6 +21,11 @@ case "$ACTION" in
        warning "$*"
        echo
        ;;
+  begin)
+       echo -n $*
+       begin "$*"
+       echo
+       ;;
   *)
        ;;
 esac