Repository :
http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
---------------------------------------------------------------
commit d8c57418c9d0dc7d5e3a8a0a89d4981030a5483e
Author: Jan Pokorny <jpokorny(a)redhat.com>
Date: Wed Aug 22 17:27:01 2012 +0200
luci: initscript: fix crazy sed command
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
---------------------------------------------------------------
luci/init.d/luci | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/luci/init.d/luci b/luci/init.d/luci
index d848428..116a278 100644
--- a/luci/init.d/luci
+++ b/luci/init.d/luci
@@ -200,7 +200,7 @@ start()
return 1
fi
- sed -e s,\\\(^accept.*=\ \\\)\\\(.*\\\),\\\1$LUCI_HTTPS_PORT, $STUNNEL_CONF | $STUNNEL_D
-fd 0
+ sed -e "s|^\(accept.*=[\t ]*\).*$|\1${LUCI_HTTPS_PORT}|" $STUNNEL_CONF |
$STUNNEL_D -fd 0
if [ $? -ne 0 ]; then
errmsg='An error occurred while starting stunnel'
stop_luci >& /dev/null