ntpd with flags in rc.conf

Duane Hill d.hill at yournetplus.com
Wed Oct 11 10:49:47 PDT 2006


Hello Zbigniew,

Wednesday, October 11, 2006, 5:28:15 PM, you wrote:

> Hello,

> I read this in the handbook:

> To ensure the NTP server is started at boot time, add the line 
> ntpd_enable="YES" to /etc/rc.conf. If you wish to pass additional flags to
> ntpd(8), edit the ntpd_flags parameter in /etc/rc.conf.

> Now, I understand that the additional flag may be for example pid 
> (-p /var/run/ntpd.pid).

> So how do I put that flag in /etc/rc.conf where I have ntpd_enable="Yes"?

ntpd_flags="-p /var/run/ntpd.pid"

> Many thanks for your advice!

> --
> Zbigniew Szalbot
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


-- 
Best regards,
 Duane                            mailto:d.hill at yournetplus.com



More information about the freebsd-questions mailing list