Applied changes to issues found during code review of the Svc component.
This commit is contained in:
@@ -34,17 +34,26 @@
|
||||
# #
|
||||
#############################################################
|
||||
|
||||
SILENT=0
|
||||
if [ "$1" != "" ]; then
|
||||
if [ "$1" == "-s" ]; then
|
||||
SILENT=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /usr/lib64 ]; then
|
||||
LIB=lib64
|
||||
LIB=lib64
|
||||
else
|
||||
LIB=lib
|
||||
LIB=lib
|
||||
fi
|
||||
|
||||
JAVA_HOME=/usr/$LIB/jvm/jre-1.5.0
|
||||
|
||||
# Do not do anything if the client keystore has already been created
|
||||
if [ -f /etc/CASA/authtoken/keys/client/jks-store ]; then
|
||||
echo "The client keystore is already setup"
|
||||
if [ $SILENT == 0 ]; then
|
||||
echo "The client keystore is already setup"
|
||||
fi
|
||||
else
|
||||
if [ -f /etc/CASA/authtoken/keys/casaatsdSigningCert ]; then
|
||||
echo "Setting up the clients's keystore"
|
||||
|
||||
Reference in New Issue
Block a user