Reboot after mesh client identity reset
This commit is contained in:
parent
ce30f1680f
commit
7213289826
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue