Tidying new mesh identity creation
This commit is contained in:
parent
12886533eb
commit
2d0a8c33bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue