Boot Property Fix 29/65029/1
authorInstrumental <jonathan.gathman@att.com>
Thu, 6 Sep 2018 17:07:06 +0000 (12:07 -0500)
committerInstrumental <jonathan.gathman@att.com>
Thu, 6 Sep 2018 17:07:15 +0000 (12:07 -0500)
Issue-ID: AAF-420
Change-Id: I5375bad1ab44c7f3318ff9fc575c20e7a4d09f02
Signed-off-by: Instrumental <jonathan.gathman@att.com>
auth/sample/bin/client.sh
auth/sample/bin/service.sh
auth/sample/local/aaf.props

index 46c85be..c0eb219 100644 (file)
@@ -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
index 33dca67..8ce43fc 100644 (file)
@@ -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
index 4a5d071..1e16c3d 100644 (file)
@@ -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