FreeBSD Bugzilla – Attachment 159913 Details for
Bug 202354
base ntpdate rc.d script does not use pool lines as possible hosts for ntpdate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ntpdate rc.d script to use pool configation line
file_202354.txt (text/plain), 475 bytes, created by
Derek Schrock
on 2015-08-16 05:47:43 UTC
(
hide
)
Description:
ntpdate rc.d script to use pool configation line
Filename:
MIME Type:
Creator:
Derek Schrock
Created:
2015-08-16 05:47:43 UTC
Size:
475 bytes
patch
obsolete
>diff --git a/etc/rc.d/ntpdate b/etc/rc.d/ntpdate >index de7a132..44c890a 100755 >--- a/etc/rc.d/ntpdate >+++ b/etc/rc.d/ntpdate >@@ -19,7 +19,7 @@ ntpdate_start() > if [ -z "$ntpdate_hosts" -a -f "$ntpdate_config" ]; then > ntpdate_hosts=`awk ' > /^server[ \t]*127.127/ {next} >- /^(server|peer)/ { >+ /^(server|peer|pool)/ { > if ($2 ~/^-/) {print $3} > else {print $2}} > ' < "$ntpdate_config"`
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202354
: 159913