aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
diff options
context:
space:
mode:
authorPaul Barrette <paul.barrette@windriver.com>2013-10-29 16:52:04 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-30 17:33:14 +0000
commit0902b63870d82373292a34aea7bb9fca70f6e7ef (patch)
tree7b810ade9672de39601691a7e4cf3ed732b7ec91 /meta/recipes-extended/lsb
parent3d204a58b38c5513e29aefacf190ab37c8a76505 (diff)
downloadopenembedded-core-contrib-0902b63870d82373292a34aea7bb9fca70f6e7ef.tar.gz
lsb: add begin function to lsb_log_message
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. (From OE-Core rev: c956290902afd0e4f6d8f545dfe0a55796deec5e) Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lsb')
-rwxr-xr-xmeta/recipes-extended/lsb/lsb/lsb_log_message5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsb/lsb_log_message b/meta/recipes-extended/lsb/lsb/lsb_log_message
index 2995f781e0..9daa9c8c41 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_log_message
+++ b/meta/recipes-extended/lsb/lsb/lsb_log_message
@@ -21,6 +21,11 @@ case "$ACTION" in
warning "$*"
echo
;;
+ begin)
+ echo -n $*
+ begin "$*"
+ echo
+ ;;
*)
;;
esac