diff --git a/dabo/dabo-prep.sh b/dabo/dabo-prep.sh new file mode 100644 index 0000000..9f9d7ae --- /dev/null +++ b/dabo/dabo-prep.sh @@ -0,0 +1,19 @@ +# functions +BASEPATH=/dabo/htdocs +for bashfunc in $(find ${BASEPATH}/../functions -type f -name "*.sh") +do + . "$bashfunc" +done +. /etc/bash/gaboshlib.include + +# vars +export LANGUAGE="en_US" +g_tries=13 +g_tries_delay=23 +g_wget_opts="--timeout 10 --tries=2 --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'" + +# prepare directories +mkdir -p ${BASEPATH}/botdata/asset-histories +mkdir -p ${BASEPATH}/botdata/trade-histories +cd ${BASEPATH}/botdata +