This commit is contained in:
swagg boi 2023-09-03 02:12:59 -04:00
parent 2fe2884651
commit 3fb48e75b6

View file

@ -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