Browse Source

Revert "Revert "Reinstate mesh script""

This reverts commit fafadac2124691fff509815277d2b3910a644d16.
Bob Mottram 8 years ago
parent
commit
6e34fee9c0
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/freedombone-image

+ 5
- 5
src/freedombone-image View File

@@ -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