/[base]
ViewVC logotype

Revision 335952


Jump to revision: Previous Next
Author: ian
Date: Wed Jul 4 14:12:09 2018 UTC (6 years ago)
Changed paths: 2
Log Message:
MFC r335575, r335786

r335575:
Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot.

The final 'mv' to install a fetched leap-list file can fail (due to a
readonly fs, or schg flags, for example), and that leads to mv(1)
prompting the user, stopping the boot process.  Instead, use mv -f
to supress the prompting, and if verbose mode is on, emit a warning
that the existing file cannot be replaced.

PR:		219255

r335786:
Rename variable ntp_tmp_leapfile to have a leading underbar, to distinguish
it from variables with similar names which are set in rc.conf.  This will
make more sense as the script grows more similar-name local variables in
some upcoming changes.


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/etc/rc.d/ntpd modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27