summaryrefslogtreecommitdiff
path: root/bin/protectedPostApiCall.sh
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-11-27 11:36:40 +0100
committerluccioman <luccioman@users.noreply.github.com>2018-11-27 11:36:40 +0100
commit106bfd0e5f7cc9cabf32a5c2110db44e9200bdd3 (patch)
tree3959236abc4ca5b8fb2e529e38d42c7909b73c9e /bin/protectedPostApiCall.sh
parent17ad1f7e65475f6f5de96f69e74c938fac699768 (diff)
Also check yacy.conf file existence in shell scripts where relevant
Diffstat (limited to 'bin/protectedPostApiCall.sh')
-rwxr-xr-xbin/protectedPostApiCall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/protectedPostApiCall.sh b/bin/protectedPostApiCall.sh
index a230754ab..106884122 100755
--- a/bin/protectedPostApiCall.sh
+++ b/bin/protectedPostApiCall.sh
@@ -16,6 +16,7 @@
cd "`dirname $0`"
. ./checkDataFolder.sh
+. ./checkConfFile.sh
port=$(grep ^port= "$YACY_DATA_PATH/SETTINGS/yacy.conf" |cut -d= -f2)
admin=$(grep ^adminAccountUserName= "$YACY_DATA_PATH/SETTINGS/yacy.conf" |cut -d= -f2)