소스 검색

Remove cryptpad datastore when resetting mesh identity

Bob Mottram 7 년 전
부모
커밋
76fc3d2148
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5
    0
      src/freedombone-image-mesh

+ 5
- 0
src/freedombone-image-mesh 파일 보기

@@ -890,6 +890,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
890 890
         rm -rf /etc/openvpn/easy-rsa/keys/*
891 891
     fi
892 892
 
893
+    # Remove cryptpad datastore
894
+    if [ -d $CRYPTPAD_DIR/datastore ]; then
895
+        rm -rf $CRYPTPAD_DIR/datastore
896
+    fi
897
+
893 898
     echo $'Beginning mesh node setup' >> $INSTALL_LOG
894 899
 
895 900
     if [ -d /home/$MY_USERNAME/.config ]; then