Sfoglia il codice sorgente

Change sequence to reduce the number of reboots

Bob Mottram 10 anni fa
parent
commit
38dbdf539f
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4
    4
      install-freedombone.sh

+ 4
- 4
install-freedombone.sh Vedi File

@@ -186,7 +186,7 @@ function configure_ssh {
186 186
   echo ''
187 187
   echo '  *** Rebooting to initialise ssh settings and random number generator ***'
188 188
   echo ''
189
-  echo "  ***              Reconnect via ssh on port $SSH_PORT                 ***"
189
+  echo "  *** Reconnect via ssh on port $SSH_PORT, then run this script again  ***"
190 190
   echo ''
191 191
   reboot
192 192
 }
@@ -835,13 +835,13 @@ enable_backports
835 835
 update_the_kernel
836 836
 enable_zram
837 837
 random_number_generator
838
+configure_firewall
839
+configure_firewall_for_ssh
840
+configure_firewall_for_email
838 841
 configure_ssh
839 842
 regenerate_ssh_keys
840 843
 set_your_domain_name
841 844
 time_synchronisation
842
-configure_firewall
843
-configure_firewall_for_ssh
844
-configure_firewall_for_email
845 845
 configure_internet_protocol
846 846
 script_to_make_self_signed_certificates
847 847
 configure_email