Escaping special characters ($)

This commit is contained in:
t3chn0m4g3 2015-03-09 16:03:27 +01:00
parent 7a7532da7e
commit d974907109

View file

@ -3,7 +3,7 @@
# T-Pot Community Edition post install script # # T-Pot Community Edition post install script #
# Ubuntu server 14.04, x64 # # Ubuntu server 14.04, x64 #
# # # #
# v0.46 by mo, DTAG, 2015-02-21 # # v0.46 by mo, DTAG, 2015-03-09 #
######################################################## ########################################################
# Let's make sure there is a warning if running for a second time # Let's make sure there is a warning if running for a second time
@ -97,7 +97,7 @@ tee -a /etc/crontab <<EOF
*/5 * * * * root /usr/bin/check.sh */5 * * * * root /usr/bin/check.sh
# Check if updated images are available and download them # Check if updated images are available and download them
27 1 * * * root for i in $(cat /data/images.conf); do /usr/bin/docker pull dtagdevsec/$i:latest; done 27 1 * * * root for i in \$(cat /data/images.conf); do /usr/bin/docker pull dtagdevsec/\$i:latest; done
# Restart docker service and containers # Restart docker service and containers
27 3 * * * root /usr/bin/dcres.sh 27 3 * * * root /usr/bin/dcres.sh