From eeab7caf759e0dc77510256a31e5a6c634d55658 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Mon, 21 Dec 2020 17:35:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.sh b/init.sh index 162f3e7..0e24aaf 100644 --- a/init.sh +++ b/init.sh @@ -15,6 +15,7 @@ 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() { @@ -29,6 +30,7 @@ function change_port() { firewall-cmd --zone=public --add-port=1993/tcp --permanent firewall-cmd --reload echo 'SSH端口修改完毕......' + sleep 5 } #安装BBR function insrall_bbr() { @@ -53,5 +55,6 @@ function insrall_bbr() { sleep 10 #重启服务器 reboot + sleep 5 } sync_time && change_port && insrall_bbr \ No newline at end of file