freebsd-nq/libexec/rc
Ian Lepore a2119d62c0 Handle the driftfile option correctly when ntpd_flags is empty.
The logic I originally wrote to detect whether a driftfile option was in the
set of flags was based on the result of removing the pattern *flag* being an
empty string.  That didn't handle the case where the string was empty to
begin with.  Doh!  So now it also specifically checks for an empty string.

The result of the bad check was that ntpd would run without a driftfile, but
it would do so only if it was running as root instead of the non-priveleged
ntpd user, which isn't a typical case.  Ntpd runs fine without a driftfile,
although it does take it longer to stabilize the clock frequency at startup.

Reported by:	avg@
Pointy hat:	ian@
MFC after:	some testing
2019-05-23 01:41:49 +00:00
..
rc.d Handle the driftfile option correctly when ntpd_flags is empty. 2019-05-23 01:41:49 +00:00
Makefile pkgbase: Move rc.sendmail to libexec/rc 2019-05-22 07:22:08 +00:00
netstart
network.subr network.subr: improve configuration of cloned gif(4) interfaces 2019-04-05 22:45:08 +00:00
pccard_ether
rc
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf Change ed(4), ep(4), and fxp(4) examples to em(4). 2019-05-18 21:01:36 +00:00
rc.firewall pkgbase: Really move rc.firewall 2019-05-22 07:38:54 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown
rc.subr Revert r346017 pending compiled-in zfs fix 2019-04-10 07:51:13 +00:00
rc.suspend