From 8362a98b8e3ad3d97d1a7b65d0ecb4723fa9c769 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 30 Jul 2010 11:09:53 +0800 Subject: [PATCH] tcf-agent: fix the init script: remove the "-s SSL:" option [BUGFIX#158] tcf-agent launched with misleading options In the commit 90e80aafbd244b00c2ced995feb73af4a739279b, with the image built by poky-image-sdk(MACHINE=qemux86), tcf-agent is launched automatically with the option "-s SSL:" in script /etc/init.d/tcf-agent, which is misleading to users. This option tells the agent to use SSL instead of TCP for communication. Because tcf-agent is not built with the SSL option enabled (libssl is not installed in the target), the agent will fall back to TCP. This could be misleading to users, so we may as well remove it. Thanks Lianhao Lu for reporting the bug and clarifying it. Signed-off-by: Dexuan Cui --- meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch b/meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch index 66d403b623..fa9e458714 100644 --- a/meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch +++ b/meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch @@ -35,7 +35,7 @@ +case "$1" in + start) + echo -n "Starting $DAEMON_NAME: " -+ $DAEMON_PATH -d -L- -l0 -s SSL: ++ $DAEMON_PATH -d -L- -l0 + RETVAL=$? + if [ $RETVAL -eq 0 ] ; then + echo "OK"