This commit is contained in:
Connor Rigby 2017-07-24 09:13:05 -07:00
parent e00ab3146f
commit f249ff3326

View file

@ -34,7 +34,7 @@ defmodule Farmbot.System.Network.Ntp do
defp do_try_set_time(count) when count < 4 do
# we try to set ntp time 3 times before giving up.
Logger.info ">> trying to set time (try #{count})"
cmd = "ntpd -q -n -p 0.pool.ntp.org -p 1.pool.ntp.org"
cmd = "ntpd -p 0.pool.ntp.org -p 1.pool.ntp.org"
port = Port.open({:spawn, cmd},
[:stream,
:binary,