Revert "Revert "Revert "Reinstate mesh script"""
This reverts commit 6e34fee9c0
.
This commit is contained in:
parent
ff69150655
commit
e97db260a7
|
@ -275,11 +275,11 @@ if [[ $GENERIC_IMAGE == "yes" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If this is a mesh variant then create an appropriate script
|
# If this is a mesh variant then create an appropriate script
|
||||||
if [[ $VARIANT == "mesh"* ]]; then
|
#if [[ $VARIANT == "mesh"* ]]; then
|
||||||
CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
|
#CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
|
||||||
mesh_router_setup_script $CONFIG_FILENAME
|
#mesh_router_setup_script $CONFIG_FILENAME
|
||||||
DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
|
#DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if [ ! $PASSWORD ]; then
|
if [ ! $PASSWORD ]; then
|
||||||
# generate a random password
|
# generate a random password
|
||||||
|
|
Loading…
Reference in New Issue