Browse Source

Use unmount

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

+ 3
- 1
src/freedombone-meshweb View File

390
 
390
 
391
 existing_ipfs=$(ps aux | grep ipfs | wc -l)
391
 existing_ipfs=$(ps aux | grep ipfs | wc -l)
392
 if [ $existing_ipfs -lt "2" ]; then
392
 if [ $existing_ipfs -lt "2" ]; then
393
-    ipfs daemon &
393
+    sudo umount /ipfs
394
+    sudo umount /ipns
395
+    ipfs daemon --mount &
394
 fi
396
 fi
395
 
397
 
396
 ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
398
 ZERONET_INDEX=/home/$MY_USERNAME/mesh.html