Skip to content
Snippets Groups Projects
Commit 76fc3d21 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove cryptpad datastore when resetting mesh identity

parent 8afa0b06
No related branches found
No related tags found
No related merge requests found
......@@ -890,6 +890,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
rm -rf /etc/openvpn/easy-rsa/keys/*
fi
# Remove cryptpad datastore
if [ -d $CRYPTPAD_DIR/datastore ]; then
rm -rf $CRYPTPAD_DIR/datastore
fi
echo $'Beginning mesh node setup' >> $INSTALL_LOG
if [ -d /home/$MY_USERNAME/.config ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment