diff --git a/init.sh b/init.sh index 5dce7f8..c9ee056 100755 --- a/init.sh +++ b/init.sh @@ -110,10 +110,10 @@ if [ -f $WA_REPO/node_type.sh ]; then source $WA_REPO/node_type.sh else echo " " - echo -n "init as master? type yes: " - read -r init_as_master + echo -n "init as xmaster? type yes: " + read -r init_as_xmaster - if [ "$init_as_master" == "yes" ]; then + if [ "$init_as_xmaster" == "yes" ]; then echo "node type set to master" echo -n "export NODE_TYPE=master" | tee $WA_REPO/node_type.sh NODE_TYPE=master