diff --git a/src/freedombone-meshweb b/src/freedombone-meshweb index 317c02e7..1eb35c50 100755 --- a/src/freedombone-meshweb +++ b/src/freedombone-meshweb @@ -314,7 +314,7 @@ ZERONET_INDEX=/home/$MY_USERNAME/mesh.html cp /etc/crontab /tmp/crontab if ! grep -q "zeronetavahi" /tmp/crontab; then - echo "* * * * * $MY_USERNAME zeronetavahi > /dev/null" >> /tmp/crontab + echo "* * * * * $MY_USERNAME cd /home/$MY_USERNAME; zeronetavahi > /dev/null" >> /tmp/crontab fi sudo cp /tmp/crontab /etc/crontab