Patchwork lsb: add begin function to lsb_log_message

login
register
mail settings
Submitter Paul Barrette
Date Oct. 29, 2013, 8:52 p.m.
Message ID <1383079924-1438-1-git-send-email-paul.barrette@windriver.com>
Download mbox | patch
Permalink /patch/60733/
State Accepted
Commit c956290902afd0e4f6d8f545dfe0a55796deec5e
Headers show

Comments

Paul Barrette - Oct. 29, 2013, 8:52 p.m.
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>
---
 meta/recipes-extended/lsb/lsb/lsb_log_message | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/meta/recipes-extended/lsb/lsb/lsb_log_message b/meta/recipes-extended/lsb/lsb/lsb_log_message
index 2995f78..9daa9c8 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