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:
parent
49cacc83a5
commit
d3cf358535
@ -26,7 +26,7 @@ ntpdate_start()
|
|||||||
fi
|
fi
|
||||||
if [ -n "$ntpdate_hosts" -o -n "$rc_flags" ]; then
|
if [ -n "$ntpdate_hosts" -o -n "$rc_flags" ]; then
|
||||||
echo "Setting date via ntp."
|
echo "Setting date via ntp."
|
||||||
${ntpdate_command:-ntpdate} $rc_flags $ntpdate_hosts
|
${ntpdate_program:-ntpdate} $rc_flags $ntpdate_hosts
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user