[PATCH] Ntpd config file support
ibid.ag at gmail.com
ibid.ag at gmail.com
Sat Mar 22 19:08:33 UTC 2014
Hello,
I got tired of hearing numbers thrown around without basis in a 4-5 day old thread
when the subject was probably trivial, so I wrote a parser for ntp.conf
this morning.
This version falls back to /etc/ntp.conf when -p is not specified; if -p
is specified, ntp.conf is ignored. Only lines starting with "server" are
used.
Here (Debian Squeeze) the patch is +10 bytes without FEATURE_NTPD_CONF,
+250 bytes with it on. I could get rid of that +10 bytes easily; it's
just because I changed how it detects whether to error out.
HTH,
Isaac Dunham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntpd-parse-etc-ntp.conf.patch
Type: text/x-diff
Size: 3452 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140322/f09f1ce9/attachment.bin>
More information about the busybox
mailing list