浏览代码

Use unmount

Bob Mottram 9 年前
父节点
当前提交
ab8ec8734d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/freedombone-meshweb

+ 3
- 1
src/freedombone-meshweb 查看文件

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