Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
31 lines
906 B
Bash
Executable file
31 lines
906 B
Bash
Executable file
#!/bin/sh
|
|
|
|
DATE=`date`
|
|
|
|
echo "**************************************************************************************"
|
|
echo "Auto Int Server Pre Install Processing - $DATE"
|
|
echo "**************************************************************************************"
|
|
|
|
echo "Getting variables from env.txt"
|
|
. env.txt
|
|
|
|
echo "Making hdf5 directory"
|
|
mkdir -p $EDEXINSTALLFOLDER/edex/data/hdf5
|
|
chown -R ${EDEXUSER}:${EDEXUSER} $EDEXINSTALLFOLDER
|
|
|
|
echo "Mounting to hdf5 on ${NASSERVER}"
|
|
mount ${NASSERVER}:/hdf5 $EDEXINSTALLFOLDER/edex/data/hdf5 -o nfsvers=3
|
|
|
|
echo "mount -l (verify mount of hdf5 directory worked)"
|
|
mount
|
|
echo ""
|
|
|
|
DATE=`date`
|
|
|
|
echo "**************************************************************************************"
|
|
echo "EDEX Int Server Pre Install Processing Completed At $DATE"
|
|
echo "**************************************************************************************"
|
|
echo ""
|
|
|
|
exit
|
|
|