Reboot after mesh client identity reset

This commit is contained in:
Bob Mottram 2016-09-09 12:38:53 +01:00
parent ce30f1680f
commit 7213289826
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,8 @@ PROJECT_NAME='freedombone'
export TEXTDOMAIN=${PROJECT_NAME}-mesh-reset export TEXTDOMAIN=${PROJECT_NAME}-mesh-reset
export TEXTDOMAINDIR="/usr/share/locale" export TEXTDOMAINDIR="/usr/share/locale"
MESH_INSTALL_COMPLETED=/root/.mesh_setup_completed
dialog --title $"New Identity" \ dialog --title $"New Identity" \
--backtitle $"Freedombone Mesh" \ --backtitle $"Freedombone Mesh" \
--defaultno \ --defaultno \
@ -42,6 +44,7 @@ case $sel in
sudo pkill firefox sudo pkill firefox
sudo pkill iceweasel sudo pkill iceweasel
sudo pkill midori sudo pkill midori
sudo rm -f $MESH_INSTALL_COMPLETED
sudo ${PROJECT_NAME}-image-mesh $USER new sudo ${PROJECT_NAME}-image-mesh $USER new
sudo batman start sudo batman start
if [ -f $HOME/mesh-desktop.sh ]; then if [ -f $HOME/mesh-desktop.sh ]; then