Browse Source

Saving bootstrap ID

Bob Mottram 9 years ago
parent
commit
f6490061b3
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-mesh

+ 2
- 1
src/freedombone-mesh View File

@@ -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 {