[fix] ntpd blocked cause firewall to strict

This commit is contained in:
ljf (zamentur)
2018-04-06 14:13:04 +02:00
committed by Sebastien Badia
parent b34644c729
commit 5654b6d0b2

View File

@@ -199,7 +199,7 @@ stop_openvpn() {
sync_time() { sync_time() {
systemctl stop ntp systemctl stop ntp
ntpd -qg &> /dev/null timeout 20 ntpd -qg &> /dev/null
systemctl start ntp systemctl start ntp
} }