Tryag File Manager
Home
-
Turbo Force
Current Path :
/
etc
/
vmware-caf
/
pme
/
install
/
Upload File :
New :
File
Dir
//etc/vmware-caf/pme/install/preupgrade.sh
#!/bin/sh # Copyright (c) 2017-2019 VMware, Inc. All rights reserved. installDir=$(dirname $(readlink -f $0)) configDir=$installDir/../config #Preserve config mkdir -p "$configDir"/_previous_ cp -pf "$configDir"/cafenv-appconfig "$configDir"/_previous_/ 2>/dev/null cp -pf "$configDir"/cafenv.config "$configDir"/_previous_/cafenv.config 2>/dev/null cat /tmp/_cafenv-appconfig_ >> "$configDir"/_previous_/cafenv.config #Temporary until we remove amqp_username/password cp -pf "$configDir"/CommAmqpListener-appconfig "$configDir"/_previous_/ 2>/dev/null