Skip to contentSkip to conversation

lsb: add begin function to lsb_log_message

PATCH New Paul Barrette 1 participant 1 message Oct 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-extended/lsb/lsb/lsb_log_message | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-extended/lsb/lsb/lsb_log_message +5 -0
index 2995f78..9daa9c8 100755
@@ -21,6 +21,11 @@ case "$ACTION" in
 	warning "$*"
 	echo
 	;;
+  begin)
+  	echo -n $*
+	begin "$*"
+	echo
+	;;
   *)
   	;;
 esac
Signature · 1 line
1.8.1.4