Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2018 08:07:34 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "Dr. Rolf Jansen" <rj@obsigna.com>, freebsd-arm@freebsd.org
Subject:   Re: BeagleBone Black with a I2C Digital Analog Converter
Message-ID:  <201808121507.w7CF7YNN032930@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <1534081680.31375.25.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808121507.w7CF7YNN032930>