diff --git a/docker/tpotinit/dist/bin/clean.sh b/docker/tpotinit/dist/bin/clean.sh index ba82b29c..c9e6cb44 100755 --- a/docker/tpotinit/dist/bin/clean.sh +++ b/docker/tpotinit/dist/bin/clean.sh @@ -20,8 +20,8 @@ echo $(ls $myFOLDER | wc -l) # Let's create a function to rotate and compress logs fuLOGROTATE () { - local mySTATUS="/data/tpot/etc/logrotate/status" - local myCONF="/data/tpot/etc/logrotate/logrotate.conf" + local mySTATUS="/opt/tpot/etc/logrotate/status" + local myCONF="/opt/tpot/etc/logrotate/logrotate.conf" local myADBHONEYTGZ="/data/adbhoney/downloads.tgz" local myADBHONEYDL="/data/adbhoney/downloads/" local myCOWRIETTYLOGS="/data/cowrie/log/tty/" diff --git a/docker/tpotinit/dist/entrypoint.sh b/docker/tpotinit/dist/entrypoint.sh index 0e659db7..ce551a46 100755 --- a/docker/tpotinit/dist/entrypoint.sh +++ b/docker/tpotinit/dist/entrypoint.sh @@ -1,6 +1,5 @@ #!/bin/bash -VERSION="T-Pot $(cat /opt/tpot/version)" COMPOSE="/tmp/tpot/docker-compose.yml" # Check for compatible OSType @@ -23,7 +22,7 @@ fi if [ -f "/data/uuid" ]; then figlet "Initializing ..." - figlet "${VERSION}" + figlet "T-Pot: ${TPOT_VERSION}" echo echo "# Data folder is present, just cleaning up, please be patient ..." echo @@ -31,7 +30,7 @@ if [ -f "/data/uuid" ]; echo else figlet "Setting up ..." - figlet "${VERSION}" + figlet "T-Pot: ${TPOT_VERSION}" echo echo "# Checking for default user." if [ "${WEB_USER}" == "change:me" ];