瀏覽代碼

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