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