#!/bin/sh
#  $Id: UpgradeFrom_530000.sh 146715 2018-01-29 10:47:54Z clare.priestley@oracle.com $
#  Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
#  This software code contains proprietary information 
#  and should be treated as confidential.
#
#  Component: Installation/upgrade

FROM_VERSION=530000 TO_VERSION=540000

. ./util

# handy shortcut vars
TTA="${instdir}/bin/tarantella"
VIN="${instdir}/var/info"
VLG="${instdir}/var/log"
TSR="${instdir}/etc/templates/serverresources"
VSR="${instdir}/var/serverresources"
TSC="${TSR}/serverconfig"
VSC="${instdir}/var/serverconfig"
TSB="${TSC}/global/beans"
VSB="${VSC}/global/beans"
TC="tarantella.config"
T_C="--tarantella-config"

# Set a default value for the cipher suite ordering property 
add_property "global/security.properties" \
             "${TC}.security.peerssl.ciphers.order" \
             "1"

# Set a default value for the socket directory property 
add_property "local/execpe.properties" \
             "${TC}.execpeconfig.socketdirectory" \
             "%%INSTALLDIR%%/var/tmp"

# Set a default value for the usesshkeys property 
add_property "local/execpe.properties" \
             "${TC}.execpeconfig.usesshkeys" \
             "1" 
exit 0
