Searched refs:LEAPSRC (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/ntp/scripts/update-leap/
H A Dupdate-leap.sh21 LEAPSRC="ftp://time.nist.gov/pub/leap-seconds.list"
61 $LEAPSRC
152 LEAPSRC="$OPTARG"
341 log "info" "Attempting download from $LEAPSRC, try $TRY.."
343 if wget $PROTO $PREFER -o ${TMPFILE}.log $LEAPSRC -O $TMPFILE ; then
344 log "info" "Download of $LEAPSRC succeeded"
379 log "notice" "Installed new $LEAPFILE from $LEAPSRC"
423 log "warning" "Download from $LEAPSRC failed after $TRY attempts"
H A Dupdate-leap.in48 my $LEAPSRC = 'https://www.ietf.org/timezones/data/leap-seconds.list';
97 $LEAPSRC = $opt{u} if defined $opt{u};
183 logger(LOG_DEBUG, "Attempting download from $LEAPSRC, try $try..");
192 logger(LOG_INFO, "Installed new $LEAPFILE from $LEAPSRC");
210 log_fatal(LOG_ERR, "Download from $LEAPSRC failed after $MAXTRIES attempts");
285 if ($LEAPSRC =~ /^https\S+/) {
294 my $reply = $http->get($LEAPSRC);
297 logger(LOG_DEBUG, "Download of $LEAPSRC succeeded");
423 $LEAPSRC

Completed in 53 milliseconds