Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 14253 Details for
Bug 24080
Add /etc/init.d/ntpd function to save/restore tick values automatically
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to /etc/init.d/ntpd
ntpd-patch.diff (text/plain), 614 bytes, created by
Rob Snow
on 2003-07-07 15:37:04 UTC
(
hide
)
Description:
patch to /etc/init.d/ntpd
Filename:
MIME Type:
Creator:
Rob Snow
Created:
2003-07-07 15:37:04 UTC
Size:
614 bytes
patch
obsolete
>--- ntpd 2003-07-01 12:19:46.000000000 -0500 >+++ /shared/ntpd-tickadj 2003-07-06 17:26:12.000000000 -0500 >@@ -20,6 +20,10 @@ > start() { > checkconfig || return $? > >+ if [ -f /etc/ntp/tickadj.conf ] ; then >+ /usr/bin/tickadj `cat /etc/ntp/tickadj.conf` >+ fi >+ > if [ -n "${NTPDATE_CMD}" ] ; then > ebegin "Initializing clock via ${NTPDATE_CMD}" > ${NTPDATE_CMD} ${NTPDATE_OPTS} > /dev/null >@@ -35,6 +39,7 @@ > } > > stop() { >+ /usr/bin/tickadj | sed -e "s/tick\ =\ //g" >/etc/ntp/tickadj.conf > ebegin "Stopping ntpd" > start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid > eend $? "Failed to stop ntpd"
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 24080
: 14253