From 89fe765cc67336fd813245461765fe9ddbe239e0 Mon Sep 17 00:00:00 2001 From: hael Date: Wed, 24 May 2023 13:58:30 +0000 Subject: [PATCH] chmod a+x --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 929f00a..7d91c1d 100755 --- a/install.sh +++ b/install.sh @@ -335,6 +335,7 @@ if [ "$SMARTHOST_PROXY" == "yes" ]; then fi if [ "$DISCOVERY" == "yes" ] ; then + chmod a+x $DISCOVERY_DIR/service-discovery.sh $DISCOVERY_DIR/service-discovery.sh $DISCOVERY_CONFIG_FILE; source $DISCOVERY_CONFIG_FILE; cat $DEST_FILE; @@ -342,6 +343,7 @@ if [ "$DISCOVERY" == "yes" ] ; then echo "Would you like to run discovered services? (Y/n)"; read -r ANSWER; if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ] ; then + chmod a+x $DISCOVERY_DIR/service-files.sh $DISCOVERY_DIR/service-files.sh $DEST_FILE & fi; fi;