BeagleBone Black with a I2C Digital Analog Converter

Rodney W. Grimes freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Sun Aug 12 15:07:38 UTC 2018


> On Sun, 2018-08-12 at 01:01 -0300, Dr. Rolf Jansen wrote:
> > 
> > BTW: The startup script /etc/rc.d/ntpd got a flaw. The -p option must
> > be removed from the cmdargs.
> 
> No, you must not set that flag in ntpd_flags in your rc.conf.

That is bad design, a user should be able to over ride any flags
of any command that we run from /etc/rc.d scripts.  The -p option
should be in the /etc/defaults/rc.conf ntpd_flags="" string, and
the hard coded -p ripped out, as this submission does, from the
/etc/rc.d/ntpd script.

> Also, you
> must run mergemaster or otherwise arrange to update
> /etc/defaults/rc.conf so that it gets the new (empty) default value for
> ntpd_flags.
> 
> -- Ian
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-arm mailing list