From 3fb48e75b69c8739129c363cda6d6148af6e752b Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 3 Sep 2023 02:12:59 -0400 Subject: [PATCH] do NTP --- deb_bugger.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deb_bugger.sh b/deb_bugger.sh index 8f3b24e..e8ddfae 100755 --- a/deb_bugger.sh +++ b/deb_bugger.sh @@ -36,6 +36,14 @@ until nc -w 5 -z mirror.swagg.net 80; do sleep 5 done +# NTP +cat >> /etc/systemd/timesyncd.conf <<'EOF' +NTP=pfswagg.swaggnet.real swaggcore0.swaggnet.real +FallbackNTP=time-a-g.nist.gov time-b-g.nist.gov time-c-g.nist.gov time-d-g.nist.gov time-e-g.nist.gov +EOF + +systemctl restart systemd-timesyncd + # Shared drives if grep -q 'swaggnet\.real' /etc/resolv.conf; then apt-get -y install cifs-utils smbclient autofs