summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2012-02-03 14:39:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-03 15:56:38 +0000
commitbb5704a4ee308b57db970cf45e806bafd24bcf5b (patch)
tree6d796d75d07d30f442194e041f15abcf50a6b400
parent14e6b02ceb316490fc102fb86b5f2c263553bbb9 (diff)
downloadpoky-bb5704a4ee308b57db970cf45e806bafd24bcf5b.tar.gz
init-functions: Add two functions
Add log_begin_msg() and log_end_msg () in init-functions because some startup scripts need them. if there are not two functions, then error information will arise on screen. for example, $ /etc/init.d/avahi-daemon start /etc/init.d/avahi-daemon: line 161: log_begin_msg: command not found /etc/init.d/avahi-daemon: line 163: log_end_msg: command not found [YOCTO #1907] (From OE-Core rev: 05682408ef7fca6029e48a18b2f660eeec65a4ec) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-extended/lsb/lsb/init-functions7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsb/init-functions b/meta/recipes-extended/lsb/lsb/init-functions
index bf424dde1c..e15827ad52 100755
--- a/meta/recipes-extended/lsb/lsb/init-functions
+++ b/meta/recipes-extended/lsb/lsb/init-functions
@@ -30,3 +30,10 @@ log_warning_msg () {
30 /etc/core-lsb/lsb_log_message warning "$@" 30 /etc/core-lsb/lsb_log_message warning "$@"
31} 31}
32 32
33log_begin_msg () {
34 /etc/core-lsb/lsb_log_message begin "$@"
35}
36
37log_end_msg () {
38 /etc/core-lsb/lsb_log_message end "$@"
39}