Move to home directory

This commit is contained in:
Bob Mottram 2015-09-14 09:20:46 +01:00
parent 63b1a9eda6
commit 52e20dd8c4
1 changed files with 1 additions and 1 deletions

View File

@ -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