From owner-freebsd-questions@FreeBSD.ORG Wed Oct 11 17:49:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 163BB16A416 for ; Wed, 11 Oct 2006 17:49:33 +0000 (UTC) (envelope-from ssuh@agnicorp.com) Received: from gpu.teloip.net (gpu.teloip.net [204.138.56.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E96343D6E for ; Wed, 11 Oct 2006 17:48:42 +0000 (GMT) (envelope-from ssuh@agnicorp.com) Received: from agnicorp-gw.agnicorp.com ([204.138.59.246] helo=localhost) by gpu.teloip.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GXiBw-000Kiw-Tp for freebsd-questions@freebsd.org; Wed, 11 Oct 2006 13:48:30 -0400 Date: Wed, 11 Oct 2006 13:48:28 -0400 From: "Sang-Kil (Sam) Suh" To: freebsd-questions@freebsd.org Message-ID: <20061011174828.GA88360@ssuh.agnicorp.net> References: <20061011192435.N4855@192.168.11.51> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061011192435.N4855@192.168.11.51> User-Agent: Mutt/1.4.2.1i X-Virus-Status: No Virus Detected. This email checked by ClamAV. X-Spam-Score: -1.4 (-) Subject: Re: ntpd with flags in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 17:49:33 -0000 On Wed, Oct 11, 2006 at 07:28:15PM +0200, Zbigniew Szalbot 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"? > > Many thanks for your advice! > > -- > Zbigniew Szalbot > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >From man rc.conf: ntpd_flags (str) If ntpd_enable is set to ``YES'', these are the flags to pass to the ntpd(8) daemon. Mine is: ntpd_flags=" -c /etc/ntp.conf -p /var/run/ntpd.pid" -- ===================================================================== Sang-Kil (Sam) Suh ( ext. 262 ) ssuh@agnicorp.com Agnicorp Inc. 487 Adelaide Street West, Suite 200 M5V 1T4 Telephone: 416.203.7838 Facsimile: 416.203.8837 =====================================================================