[fix] ntpd blocked cause firewall to strict
This commit is contained in:
committed by
Sebastien Badia
parent
b34644c729
commit
5654b6d0b2
@@ -199,7 +199,7 @@ stop_openvpn() {
|
||||
|
||||
sync_time() {
|
||||
systemctl stop ntp
|
||||
ntpd -qg &> /dev/null
|
||||
timeout 20 ntpd -qg &> /dev/null
|
||||
systemctl start ntp
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user