Przeglądaj źródła

Probably don't need introducer

Bob Mottram 8 lat temu
rodzic
commit
488b4c3a8c
1 zmienionych plików z 0 dodań i 10 usunięć
  1. 0
    10
      src/freedombone-app-tahoelafs

+ 0
- 10
src/freedombone-app-tahoelafs Wyświetl plik

@@ -43,9 +43,6 @@ function reconfigure_tahoelafs {
43 43
                 su -c 'tahoe stop' - $USERNAME
44 44
                 rm -rf /home/$USERNAME/.tahoe
45 45
             fi
46
-            if [ -d /home/$USERNAME/.tahoe-introducer ]; then
47
-                rm -rf /home/$USERNAME/.tahoe-introducer
48
-            fi
49 46
 
50 47
             if [ -d /home/$USERNAME/${TAHOELAFS_SHARED_DIR} ]; then
51 48
                 rm -rf /home/$USERNAME/${TAHOELAFS_SHARED_DIR}
@@ -57,12 +54,6 @@ function reconfigure_tahoelafs {
57 54
                 exit 63722
58 55
             fi
59 56
 
60
-            su -c 'tahoe create-introducer ~/.tahoe-introducer' - $USERNAME
61
-
62
-            if [ ! -d /home/$USERNAME/.tahoe-introducer ]; then
63
-                exit 365272
64
-            fi
65
-
66 57
             # create a shared directory
67 58
             if [ ! -d /home/$USERNAME/${TAHOELAFS_SHARED_DIR} ]; then
68 59
                 mkdir /home/$USERNAME/${TAHOELAFS_SHARED_DIR}
@@ -101,7 +92,6 @@ function reconfigure_tahoelafs {
101 92
             echo "local.directory = ~/${TAHOELAFS_SHARED_DIR}" >> $TAHOELAFS_CONFIG
102 93
             chown $USERNAME:$USERNAME $TAHOELAFS_CONFIG
103 94
 
104
-            su -c 'tahoe start ~/.tahoe-introducer' - $USERNAME
105 95
             su -c 'tahoe start' - $USERNAME
106 96
         fi
107 97
     done