Browse Source

Move to home directory

Bob Mottram 9 years ago
parent
commit
52e20dd8c4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-meshweb

+ 1
- 1
src/freedombone-meshweb View File

@@ -314,7 +314,7 @@ ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
314 314
 
315 315
 cp /etc/crontab /tmp/crontab
316 316
 if ! grep -q "zeronetavahi" /tmp/crontab; then
317
-    echo "* *     * * *   $MY_USERNAME    zeronetavahi > /dev/null" >> /tmp/crontab
317
+    echo "* *     * * *   $MY_USERNAME    cd /home/$MY_USERNAME; zeronetavahi > /dev/null" >> /tmp/crontab
318 318
 fi
319 319
 sudo cp /tmp/crontab /etc/crontab
320 320