Skip to content
Snippets Groups Projects
Unverified Commit 2d0a8c33 authored by Bob Mottram's avatar Bob Mottram
Browse files

Tidying new mesh identity creation

parent 12886533
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ function change_avahi_name {
systemctl restart avahi-daemon
echo "New avahi name for this peer is P$PEER_ID"
toilet "mesh-$PEER_ID"
echo "mesh-$PEER_ID"
echo $"avahi name changed to P${PEER_ID}.local" >> $INSTALL_LOG
}
......
......@@ -37,11 +37,12 @@ dialog --title $"New Identity" \
--yesno $"\nDo you want to reset your identity? This will reset ALL data for this peer, and you will not be able to recover it." 8 60
sel=$?
case $sel in
0) sudo pkill qtox
0) sudo batman stop
sudo pkill qtox
sudo pkill firefox
sudo pkill iceweasel
sudo ${PROJECT_NAME}-image-mesh $USER new
sudo batman restart
sudo batman start
if [ -f $HOME/mesh-desktop.sh ]; then
$HOME/mesh-desktop.sh
else
......
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