diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2010-07-30 11:09:53 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-30 14:50:31 +0100 |
commit | 8362a98b8e3ad3d97d1a7b65d0ecb4723fa9c769 (patch) | |
tree | 8f6a5be67e9870af25b3ff97c1d862c29fb01b75 /meta/packages/tcf-agent | |
parent | cdece362313c3213e3b825805f4afb1fd42c997c (diff) | |
download | poky-8362a98b8e3ad3d97d1a7b65d0ecb4723fa9c769.tar.gz |
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 <dexuan.cui@intel.com>
Diffstat (limited to 'meta/packages/tcf-agent')
-rw-r--r-- | meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
35 | +case "$1" in | 35 | +case "$1" in |
36 | + start) | 36 | + start) |
37 | + echo -n "Starting $DAEMON_NAME: " | 37 | + echo -n "Starting $DAEMON_NAME: " |
38 | + $DAEMON_PATH -d -L- -l0 -s SSL: | 38 | + $DAEMON_PATH -d -L- -l0 |
39 | + RETVAL=$? | 39 | + RETVAL=$? |
40 | + if [ $RETVAL -eq 0 ] ; then | 40 | + if [ $RETVAL -eq 0 ] ; then |
41 | + echo "OK" | 41 | + echo "OK" |