diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-09-06 12:07:06 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-09-06 12:07:15 -0500 |
commit | 08a5c4369d685bcd831d4987a8be9d6c107dbb31 (patch) | |
tree | a06682e970f81e2f47a2eb72f9b3e3b883e5b3bf /auth/sample/bin | |
parent | 8206227ce04d26834a0023b4497d6b2ad67e906b (diff) |
Boot Property Fix
Issue-ID: AAF-420
Change-Id: I5375bad1ab44c7f3318ff9fc575c20e7a4d09f02
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/sample/bin')
-rw-r--r-- | auth/sample/bin/client.sh | 2 | ||||
-rw-r--r-- | auth/sample/bin/service.sh | 2 |
2 files changed, 2 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 |