From: Dexuan Cui Date: Fri, 30 Jul 2010 03:09:53 +0000 (+0800) Subject: tcf-agent: fix the init script: remove the "-s SSL:" option X-Git-Tag: 2011-1~5032 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8362a98b8e3ad3d97d1a7b65d0ecb4723fa9c769;p=openembedded-core.git 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 --- 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"