Bläddra i källkod

Some extra comments

Bob Mottram 8 år sedan
förälder
incheckning
b3432a467e
1 ändrade filer med 14 tillägg och 2 borttagningar
  1. 14
    2
      src/freedombone-utils-final

+ 14
- 2
src/freedombone-utils-final Visa fil

@@ -45,12 +45,21 @@ function install_final {
45 45
     clear
46 46
     echo ''
47 47
 
48
-    echo $"
48
+    if [[ $ONION_ONLY == 'no' ]]; then
49
+        echo $"
49 50
 If you wish to verify the server ssh public key at next login it is:
50 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 63
     echo ''
55 64
 
56 65
     if [ -f "/home/$MY_USERNAME/README" ]; then
@@ -71,9 +80,12 @@ Ensure that ports are forwarded from your internet router
71 80
             shutdown now
72 81
             return
73 82
         fi
83
+        echo $'Turning off logging'
74 84
         ${PROJECT_NAME}-logging off
85
+        echo $'Rebooting the system'
75 86
         reboot
76 87
     fi
88
+    echo $'Turning off logging'
77 89
     ${PROJECT_NAME}-logging off
78 90
 }
79 91