projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
47cd3d9
)
Add the -g option to ntpd
author
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 25 Jun 2010 13:05:14 +0000
(15:05 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 25 Jun 2010 13:05:14 +0000
(15:05 +0200)
This allows for setting the clock regardless of the time offset.
plugins/ntpd.c
patch
|
blob
|
history
diff --git
a/plugins/ntpd.c
b/plugins/ntpd.c
index
fa74ea8
..
731fa46
100644
(file)
--- a/
plugins/ntpd.c
+++ b/
plugins/ntpd.c
@@
-158,6
+158,7
@@
static int ntpdate(void)
goto error_task;
}
+ connman_task_add_argument(ntpdate->task, "-g", NULL);
connman_task_add_argument(ntpdate->task, "-q", NULL);
/* The servers are added through a temp configuration file */