浏览代码

Creating storage directory

Bob Mottram 8 年前
父节点
当前提交
67fee2610b
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0
    3
      src/freedombone-app-tahoelafs

+ 0
- 3
src/freedombone-app-tahoelafs 查看文件

362
     create_tahoelafs_daemon "introducer"
362
     create_tahoelafs_daemon "introducer"
363
 
363
 
364
     # start the storage node
364
     # start the storage node
365
-    if [ ! -d /home/tahoelafs/storage ]; then
366
-        mkdir /home/tahoelafs/storage
367
-    fi
368
     create_tahoelafs_storage_node /home/tahoelafs/storage "$(get_tahoelafs_introducer)"
365
     create_tahoelafs_storage_node /home/tahoelafs/storage "$(get_tahoelafs_introducer)"
369
     TAHOELAFS_STORAGE_CONFIG=/home/tahoelafs/storage/tahoe.cfg
366
     TAHOELAFS_STORAGE_CONFIG=/home/tahoelafs/storage/tahoe.cfg
370
     if [ ! -f $TAHOELAFS_STORAGE_CONFIG ]; then
367
     if [ ! -f $TAHOELAFS_STORAGE_CONFIG ]; then