Reinstate mesh script

This commit is contained in:
Bob Mottram 2016-05-26 17:28:38 +01:00
parent ff9dead3df
commit 1af4c14ad3
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 5 additions and 5 deletions

View File

@ -275,11 +275,11 @@ if [[ $GENERIC_IMAGE == "yes" ]]; then
fi
# If this is a mesh variant then create an appropriate script
#if [[ $VARIANT == "mesh"* ]]; then
#CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
#mesh_router_setup_script $CONFIG_FILENAME
#DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
#fi
if [[ $VARIANT == "mesh"* ]]; then
CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
mesh_router_setup_script $CONFIG_FILENAME
DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
fi
if [ ! $PASSWORD ]; then
# generate a random password