From 77e4ee10535aa582e61b6554e78e45efb06af377 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 30 Oct 2022 00:27:10 +0800 Subject: [PATCH] =?UTF-8?q?debian=E9=A6=96=E5=85=88=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=86=8D=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install/debian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index 12cac65fd..983900d1a 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -16,6 +16,10 @@ if grep -Eq "Debian" /etc/*-release; then ln -sf /bin/bash /bin/sh fi +# synchronize time first +apt-get install ntpdate -y +ntpdate time.nist.gov | logger -t NTP + apt update -y apt-get update -y