Bug 76188

Summary: /etc/rc.d/ntpdate script uses ..._command and not ..._program (like in rc.conf)
Product: Base System Reporter: Arne Woerner <arne_woerner>
Component: confAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Arne Woerner 2005-01-13 02:50:26 UTC
Today I experienced a little problem with the script
  /etc/rc.d/ntpdate
When I started that script from root's crontab, the script did not find the ntpdate-program, although its full path is mentioned in the file
  /etc/defaults/rc.conf

I hope, I did not misinterpret something...

For further information see, please:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/etc/defaults/rc.conf?rev=1.212.2.9&content-type=text/plain
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/etc/rc.d/ntpdate?rev=1.9.2.1&content-type=text/plain

Fix: 

In
  /etc/rc.d/ntpdate
substitute
  ntpdate_command
by
  ntpdate_program

I tested it and it works fine...
How-To-Repeat: put
  * * * * * /etc/rc.d/ntpdate start
into root's crontab (at least on my machine; maybe I misconfigured something...)
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2005-01-13 14:53:29 UTC
Responsible Changed
From-To: freebsd-bugs->ceri

I'll take care of this.
Comment 2 Ceri Davies freebsd_committer freebsd_triage 2005-01-17 18:28:20 UTC
State Changed
From-To: open->patched

Patched in -HEAD.  I will MFC this after a week or so.  Thanks.
Comment 3 Ceri Davies freebsd_committer freebsd_triage 2005-02-21 15:56:52 UTC
State Changed
From-To: patched->closed

Forgot to close this when I merged it to RELENG_5 on Jan 30th.