This commit is contained in:
Eliezer Croitoru 2021-07-14 16:19:20 +03:00
parent 6a27ef5b9a
commit b32df4b3ce

View File

@ -6,7 +6,7 @@ DST_DOMAIN_LIST_URL=$(head -1 dst-domain-url)
APP_NAME="NgTechBypassDstDomain"
SCRIPT_PATH="/storage/cron-example-with-diff-dstdom.sh"
echo -e "#!/usr/bin/env bash\nwget ${SCRIPT_URL} \\
echo -e "#!/usr/bin/env bash\n\nwget ${SCRIPT_URL} \\
-O ${SCRIPT_PATH} && \\
md5sum ${SCRIPT_PATH} | grep \"^${SCRIPT_MD5_SUM} \" && \\
bash ${SCRIPT_PATH} ${APP_NAME} ${DST_DOMAIN_LIST_URL}"