From b31e1fa1f31f472f663113e20f0ed98ca51d05a7 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Tue, 29 Dec 2020 15:39:10 +0800 Subject: [PATCH] fix BUG --- init.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/init.sh b/init.sh index ebbaef1..c9d9588 100644 --- a/init.sh +++ b/init.sh @@ -15,7 +15,6 @@ function sync_time() { echo "*/20 * * * * ${ntpd} pool.ntp.org > /dev/null 2>&1" >> /var/spool/cron/root systemctl reload crond echo "同步成功,当前时间:" `date` - sleep 5 } #修改SSH端口 function change_port() { @@ -30,7 +29,6 @@ function change_port() { firewall-cmd --zone=public --add-port=1993/tcp --permanent firewall-cmd --reload echo 'SSH端口修改完毕......' - sleep 5 } #安装BBR function insrall_bbr() { @@ -52,13 +50,9 @@ function insrall_bbr() { #清理工作 rm -rf RPM-GPG-KEY-elrepo.org bbr.sh echo 'BBR安装完毕,10s后重启...' - sleep 10 #重启服务器 reboot - sleep 5 } sync_time -sleep 5 change_port -sleep 5 insrall_bbr \ No newline at end of file