Bob Mottram преди 11 години
родител
ревизия
3b552de3ac
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3
    3
      install-freedombone.sh

+ 3
- 3
install-freedombone.sh Целия файл

@@ -298,7 +298,7 @@ function configure_ssh {
298 298
   echo 'Ciphers aes256-ctr,aes128-ctr' >> /etc/ssh/sshd_config
299 299
   echo 'MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160
300 300
   KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1' >> /etc/ssh/sshd_config
301
-  apt-get -y install fail2ban
301
+  apt-get -y --force-yes install fail2ban
302 302
   echo 'configure_ssh' >> $COMPLETION_FILE
303 303
   echo ''
304 304
   echo ''
@@ -345,7 +345,7 @@ function time_synchronisation {
345 345
   if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
346 346
 	  return
347 347
   fi
348
-  apt-get -y install tlsdate
348
+  apt-get -y --force-yes install tlsdate
349 349
   apt-get -y remove ntpdate
350 350
 
351 351
   echo '#!/bin/bash' > /usr/bin/updatedate
@@ -814,7 +814,7 @@ function configure_gpg {
814 814
   if grep -Fxq "configure_gpg" $COMPLETION_FILE; then
815 815
 	  return
816 816
   fi
817
-  apt-get -y install gnupg
817
+  apt-get -y --force-yes install gnupg
818 818
 
819 819
   if [ ! -d /home/$MY_USERNAME/.gnupg ]; then
820 820
 	  mkdir /home/$MY_USERNAME/.gnupg