Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added modded trac_client_1.ttm per VS #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions vsxexport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
# 1.2 Added status of Dynamic Balancing
# Added status of SecureXL Fast Accelerator
# Log information about interfaces
# 1.3 Added backup of modded trac_client_1.ttm per VS


#====================================================================================================
Expand Down Expand Up @@ -558,6 +559,16 @@ do
else
printf "| \t\t\t| cpha_bond_ls_config.conf NOT found\t|${txt_green} OK${txt_reset}\t\t|\n"
fi

TRACFILE=$VSVARPATH/trac_client_1.ttm
TRAC=$(md5sum $TRACFILE | awk {'print $1'})
if [[ ! -L $TRACFILE && $TRAC != "9d898b072aa5e0d3646ce81829c45453" ]]; then
cp --parents $VSVARPATH/trac_client_1.ttm $OUTPUTDIR/VS$i
printf "| \t\t\t| Custom trac_client_1.ttm\t\t|${txt_green} SAVED${txt_reset}\t\t|\n"
else
printf "| \t\t\t| Default trac_client_1.ttm\t\t|${txt_green} NOT SAVED${txt_reset}\t|\n"
fi

echo "+-----------------------+---------------------------------------+---------------+"
done

Expand Down