|
From: <aq...@us...> - 2009-07-10 13:25:01
|
Revision: 2666
http://morphix.svn.sourceforge.net/morphix/?rev=2666&view=rev
Author: aquatix
Date: 2009-07-10 13:24:56 +0000 (Fri, 10 Jul 2009)
Log Message:
-----------
Fixed calling of non-existing ntpdate in /etc/init.d/ Replaced by call to ntp. Thanks Thanatermesis for reporting and suggesting the fix
Modified Paths:
--------------
trunk/datetimeconf/src/libdatetime.c
Modified: trunk/datetimeconf/src/libdatetime.c
===================================================================
--- trunk/datetimeconf/src/libdatetime.c 2009-07-01 21:33:38 UTC (rev 2665)
+++ trunk/datetimeconf/src/libdatetime.c 2009-07-10 13:24:56 UTC (rev 2666)
@@ -46,7 +46,7 @@
}
gboolean check_ntp_installed() {
- FILE *fp = fopen("/etc/init.d/ntpdate","r");
+ FILE *fp = fopen("/etc/init.d/ntp","r");
if (fp == NULL) {
return NULL;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|