浏览代码

Remove ssb files when reseting mesh identity

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

+ 5
- 0
src/freedombone-image-mesh 查看文件

@@ -589,6 +589,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
589 589
         rm $INSTALL_LOG
590 590
     fi
591 591
 
592
+    # Remove SSB/Patchwork files
593
+    if [ -d /home/$MY_USERNAME/.ssb ]; then
594
+        rm -rf /home/$MY_USERNAME/.ssb
595
+    fi
596
+
592 597
     echo $'Beginning mesh node setup' >> $INSTALL_LOG
593 598
 
594 599
     if [ -d /home/$MY_USERNAME/.config ]; then