s/ntpdate_command/ntpdate_program/ to match rc.conf(5) and

/etc/defaults/rc.conf.

PR:		conf/76188
Submitted by:	Arne Wörner <arne_woerner at yahoo dot com>
Approved by:	murray
MFC After:	7 days
This commit is contained in:
Ceri Davies 2005-01-17 18:28:09 +00:00
parent 617efa7ad5
commit 02f8f932bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140391

View File

@ -26,7 +26,7 @@ ntpdate_start()
fi
if [ -n "$ntpdate_hosts" -o -n "$rc_flags" ]; then
echo "Setting date via ntp."
${ntpdate_command:-ntpdate} $rc_flags $ntpdate_hosts
${ntpdate_program:-ntpdate} $rc_flags $ntpdate_hosts
fi
}