Remove cryptpad datastore when resetting mesh identity
This commit is contained in:
parent
8afa0b062f
commit
76fc3d2148
|
@ -890,6 +890,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
||||||
rm -rf /etc/openvpn/easy-rsa/keys/*
|
rm -rf /etc/openvpn/easy-rsa/keys/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove cryptpad datastore
|
||||||
|
if [ -d $CRYPTPAD_DIR/datastore ]; then
|
||||||
|
rm -rf $CRYPTPAD_DIR/datastore
|
||||||
|
fi
|
||||||
|
|
||||||
echo $'Beginning mesh node setup' >> $INSTALL_LOG
|
echo $'Beginning mesh node setup' >> $INSTALL_LOG
|
||||||
|
|
||||||
if [ -d /home/$MY_USERNAME/.config ]; then
|
if [ -d /home/$MY_USERNAME/.config ]; then
|
||||||
|
|
Loading…
Reference in New Issue