소스 검색

Some extra comments

Bob Mottram 8 년 전
부모
커밋
b3432a467e
1개의 변경된 파일14개의 추가작업 그리고 2개의 파일을 삭제
  1. 14
    2
      src/freedombone-utils-final

+ 14
- 2
src/freedombone-utils-final 파일 보기

45
     clear
45
     clear
46
     echo ''
46
     echo ''
47
 
47
 
48
-    echo $"
48
+    if [[ $ONION_ONLY == 'no' ]]; then
49
+        echo $"
49
 If you wish to verify the server ssh public key at next login it is:
50
 If you wish to verify the server ssh public key at next login it is:
50
 $(get_ssh_server_key)
51
 $(get_ssh_server_key)
51
 
52
 
52
-Ensure that ports are forwarded from your internet router
53
+Ensure that ports are forwarded from your internet router.
54
+You can find the list of ports within the firewall section of
55
+the administrator control panel.
53
 "
56
 "
57
+    else
58
+        echo $"
59
+If you wish to verify the server ssh public key at next login it is:
60
+$(get_ssh_server_key)
61
+"
62
+    fi
54
     echo ''
63
     echo ''
55
 
64
 
56
     if [ -f "/home/$MY_USERNAME/README" ]; then
65
     if [ -f "/home/$MY_USERNAME/README" ]; then
71
             shutdown now
80
             shutdown now
72
             return
81
             return
73
         fi
82
         fi
83
+        echo $'Turning off logging'
74
         ${PROJECT_NAME}-logging off
84
         ${PROJECT_NAME}-logging off
85
+        echo $'Rebooting the system'
75
         reboot
86
         reboot
76
     fi
87
     fi
88
+    echo $'Turning off logging'
77
     ${PROJECT_NAME}-logging off
89
     ${PROJECT_NAME}-logging off
78
 }
90
 }
79
 
91