From 08a5c4369d685bcd831d4987a8be9d6c107dbb31 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 6 Sep 2018 12:07:06 -0500 Subject: [PATCH] Boot Property Fix Issue-ID: AAF-420 Change-Id: I5375bad1ab44c7f3318ff9fc575c20e7a4d09f02 Signed-off-by: Instrumental --- auth/sample/bin/client.sh | 2 +- auth/sample/bin/service.sh | 2 +- auth/sample/local/aaf.props | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/auth/sample/bin/client.sh b/auth/sample/bin/client.sh index 46c85be9..c0eb2191 100644 --- a/auth/sample/bin/client.sh +++ b/auth/sample/bin/client.sh @@ -119,7 +119,7 @@ if [ ! "$CMD" = "" ]; then if [ "$ADD" = "Y" ]; then echo $2 >> $F else - sed -i.backup -e "s/\\(${1}.*=\\).*/\\1${2}/" $F + sed -i.backup -e "s/\\(${1}.*=\\).*/\\1\"${2}\"/" $F fi cat $F done diff --git a/auth/sample/bin/service.sh b/auth/sample/bin/service.sh index 33dca67f..8ce43fce 100644 --- a/auth/sample/bin/service.sh +++ b/auth/sample/bin/service.sh @@ -92,7 +92,7 @@ if [ ! "$CMD" = "" ]; then echo "$1=$2" >> $F else VALUE=${2//\//\\\/} - sed -i.backup -e "s/\(${1}=\).*/\1${VALUE}/" $F + sed -i.backup -e "s/\(${1}=\).*/\1\"${VALUE}\"/" $F fi cat $F done diff --git a/auth/sample/local/aaf.props b/auth/sample/local/aaf.props index 4a5d0716..1e16c3d4 100644 --- a/auth/sample/local/aaf.props +++ b/auth/sample/local/aaf.props @@ -20,3 +20,4 @@ cadi_x509_issuers= # Other aaf_data_dir=/opt/app/osaaf/data cadi_token_dir=/opt/app/osaaf/tokens +cadi_loglevel=WARN -- 2.16.6