]> code.ossystems Code Review - openembedded-core.git/commitdiff
tcf-agent: fix the init script: remove the "-s SSL:" option
authorDexuan Cui <dexuan.cui@intel.com>
Fri, 30 Jul 2010 03:09:53 +0000 (11:09 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 30 Jul 2010 13:50:31 +0000 (14:50 +0100)
[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 <dexuan.cui@intel.com>
meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch

index 66d403b623f29a3d59f567856bbedc5e2fd0872e..fa9e458714e6a37c53509223a8d3fa1987024f27 100644 (file)
@@ -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"