Le 02/07/2013 21:52, Phil Pennock a écrit : > On 2013-07-02 at 14:50 -0400, Doug Calvert wrote: >> On Fri, Jun 28, 2013 at 1:50 AM, Phil Pennock >> <[email protected]> wrote: >>> Per previous thread, the best approach to resolving the boot-time "catch >>> 22" for getting DNS to get time to get DNS working was to use a query >>> with checking disabled, and this could be done well enough in shell in >>> the existing ntpdate system startup script. >> How about using the ctime of /var/lib/unbound/root.key and or parse > Oh, I like that, thanks. I'd been wondering what might be a way of > periodically updating a file to get a recent timestamp, but unbound is > inherently doing that for me already, so I don't even add more I/O. > > The date(1) command on this thing can't parse the timestamp output by > ls(1) and the ls(1) doesn't support using other formats for emission, so > I ended up resorting to Python, because that's what I have installed. > > stat (1) should give you the time in a format recognized by date.
_______________________________________________ pool mailing list [email protected] http://lists.ntp.org/listinfo/pool
