Remove ssb files when reseting mesh identity

This commit is contained in:
Bob Mottram 2017-09-18 11:03:03 +01:00
parent 87948da68a
commit bf8543e58d
1 changed files with 5 additions and 0 deletions

View File

@ -589,6 +589,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
rm $INSTALL_LOG
fi
# Remove SSB/Patchwork files
if [ -d /home/$MY_USERNAME/.ssb ]; then
rm -rf /home/$MY_USERNAME/.ssb
fi
echo $'Beginning mesh node setup' >> $INSTALL_LOG
if [ -d /home/$MY_USERNAME/.config ]; then