From 1af4c14ad355ad589ea5ed2f82a926ffa42e495d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 26 May 2016 17:28:38 +0100 Subject: [PATCH] Reinstate mesh script --- src/freedombone-image | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/freedombone-image b/src/freedombone-image index 616dfcd9..36ba3473 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -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