Files
dabo/dabo/dabo-prep.sh
2024-07-07 16:39:38 +02:00

24 lines
498 B
Bash

# functions
BASEPATH=/dabo/htdocs
# load functions
for bashfunc in $(find ${BASEPATH}/../functions -type f -name "*.sh")
do
. "$bashfunc"
done
. /etc/bash/gaboshlib.include
# vars
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'"
set +a
# prepare directories
mkdir -p ${BASEPATH}/botdata/asset-histories
cd ${BASEPATH}/botdata