Bob Mottram 9 年前
父节点
当前提交
ef5c96fa81
共有 1 个文件被更改,包括 0 次插入18 次删除
  1. 0
    18
      src/freedombone

+ 0
- 18
src/freedombone 查看文件

6382
 
6382
 
6383
   apt-get -y install fail2ban
6383
   apt-get -y install fail2ban
6384
   echo 'configure_ssh' >> $COMPLETION_FILE
6384
   echo 'configure_ssh' >> $COMPLETION_FILE
6385
-  # Don't reboot if installing within docker
6386
-  # random numbers will come from the host system
6387
-  if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then
6388
-      return
6389
-  fi
6390
-  #echo ''
6391
-  #echo ''
6392
-  #echo '  *** Rebooting to initialise ssh settings and random number generator ***'
6393
-  #echo ''
6394
-  #echo "  *** Reconnect via ssh on port $SSH_PORT, then run this script again  ***"
6395
-  #echo ''
6396
-  #echo '## ' >> /etc/motd
6397
-  #echo '## Type "su" and enter your administrator password, then use the command:' >> /etc/motd
6398
-  #echo '## ' >> /etc/motd
6399
-  #echo '##   freedombone -c freedombone.cfg' >> /etc/motd
6400
-  #echo '## ' >> /etc/motd
6401
-  #echo '## to continue the installation.' >> /etc/motd
6402
-  #reboot
6403
 }
6385
 }
6404
 
6386
 
6405
 # see https://stribika.github.io/2015/01/04/secure-secure-shell.html
6387
 # see https://stribika.github.io/2015/01/04/secure-secure-shell.html