Revision: 8011
http://sourceforge.net/p/astlinux/code/8011
Author: abelbeck
Date: 2016-12-03 15:59:17 +0000 (Sat, 03 Dec 2016)
Log Message:
-----------
chrony, ntpd init.d script, log syslog error if initial time step fails
Modified Paths:
--------------
branches/1.0/package/chrony/ntpd.init
Modified: branches/1.0/package/chrony/ntpd.init
===================================================================
--- branches/1.0/package/chrony/ntpd.init 2016-12-03 14:15:06 UTC (rev 8010)
+++ branches/1.0/package/chrony/ntpd.init 2016-12-03 15:59:17 UTC (rev 8011)
@@ -78,6 +78,8 @@
if [ -r /dev/rtc ]; then
hwclock -wu --noadjfile 2>/dev/null
fi
+ else
+ logger -s -t chronyd -p kern.info "Failed to set time using NTP server '$first', continuing in the background."
fi
rm -f $PIDFILE
sleep 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|