edex manager updated to check setup.env for localhost *every* time
Former-commit-id: 02c12d47bd
This commit is contained in:
parent
4ccf6c3508
commit
336cc2bcd5
1 changed files with 9 additions and 9 deletions
|
@ -257,15 +257,15 @@ edex_setup() { # setup IP subnet and domains for EDEX, prompt user for confirm
|
|||
|
||||
# EDEX env
|
||||
|
||||
envGrep=`grep $HOSTNAME $EDEX_ENV_FILE | head -1`
|
||||
echo -n ' Checking '$EDEX_ENV_FILE
|
||||
if [[ ! -z ${envGrep} ]]; then
|
||||
echo ' [OK]'
|
||||
boolFiles[1]=false
|
||||
else
|
||||
echo ' ** Missing '$HOSTNAME
|
||||
continue=true
|
||||
fi
|
||||
#envGrep=`grep $HOSTNAME $EDEX_ENV_FILE | head -1`
|
||||
#echo -n ' Checking '$EDEX_ENV_FILE
|
||||
#if [[ ! -z ${envGrep} ]]; then
|
||||
# echo ' [OK]'
|
||||
# boolFiles[1]=false
|
||||
#else
|
||||
# echo ' ** Missing '$HOSTNAME
|
||||
# continue=true
|
||||
#fi
|
||||
|
||||
# LDM
|
||||
ldmGrep=`grep EDEX_HOSTNAME $LDMD_CONF | head -1`
|
||||
|
|
Loading…
Add table
Reference in a new issue