浏览代码

Saving bootstrap ID

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

+ 2
- 1
src/freedombone-mesh 查看文件

124
     fi
124
     fi
125
 
125
 
126
     # save the public key for later reference
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
 function install_toxid {
131
 function install_toxid {