Ver código fonte

Saving bootstrap ID

Bob Mottram 9 anos atrás
pai
commit
f6490061b3
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      src/freedombone-mesh

+ 2
- 1
src/freedombone-mesh Ver arquivo

@@ -124,7 +124,8 @@ function install_toxcore {
124 124
     fi
125 125
 
126 126
     # save the public key for later reference
127
-    echo "$TOX_PUBLIC_KEY" > $TOX_BOOTSTRAP_ID_FILE
127
+    echo "$TOX_PUBLIC_KEY" > /tmp/boostrapid
128
+	sudo mv /tmp/boostrapid $TOX_BOOTSTRAP_ID_FILE
128 129
 }
129 130
 
130 131
 function install_toxid {