소스 검색

Tidying new mesh identity creation

Bob Mottram 8 년 전
부모
커밋
2d0a8c33bb
No account linked to committer's email
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    1
      src/freedombone-image-mesh
  2. 3
    2
      src/freedombone-mesh-reset

+ 1
- 1
src/freedombone-image-mesh 파일 보기

@@ -109,7 +109,7 @@ function change_avahi_name {
109 109
     systemctl restart avahi-daemon
110 110
 
111 111
     echo "New avahi name for this peer is P$PEER_ID"
112
-    toilet "mesh-$PEER_ID"
112
+    echo "mesh-$PEER_ID"
113 113
     echo $"avahi name changed to P${PEER_ID}.local" >> $INSTALL_LOG
114 114
 }
115 115
 

+ 3
- 2
src/freedombone-mesh-reset 파일 보기

@@ -37,11 +37,12 @@ dialog --title $"New Identity" \
37 37
        --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
38 38
 sel=$?
39 39
 case $sel in
40
-    0) sudo pkill qtox
40
+    0) sudo batman stop
41
+       sudo pkill qtox
41 42
        sudo pkill firefox
42 43
        sudo pkill iceweasel
43 44
        sudo ${PROJECT_NAME}-image-mesh $USER new
44
-       sudo batman restart
45
+       sudo batman start
45 46
        if [ -f $HOME/mesh-desktop.sh ]; then
46 47
            $HOME/mesh-desktop.sh
47 48
        else