projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede737b
)
ntpd: renew cur_time after script run, it can take a while
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 6 Jan 2010 12:05:08 +0000
(13:05 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 6 Jan 2010 12:05:08 +0000
(13:05 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c
patch
|
blob
|
history
diff --git
a/networking/ntpd.c
b/networking/ntpd.c
index 81474547edb88620d51da89215d2ff9a477aee92..d23b2c984428e4c4b6e9e603ece74b342253e012 100644
(file)
--- a/
networking/ntpd.c
+++ b/
networking/ntpd.c
@@
-1902,6
+1902,7
@@
int ntpd_main(int argc UNUSED_PARAM, char **argv)
) {
/* Useful for updating battery-backed RTC and such */
run_script("periodic");
+ gettime1900d(); /* sets G.cur_time */
}
continue;
}