From: <abe...@us...> - 2015-05-11 23:29:58
|
Revision: 7065 http://sourceforge.net/p/astlinux/code/7065 Author: abelbeck Date: 2015-05-11 23:29:55 +0000 (Mon, 11 May 2015) Log Message: ----------- ntp, ntpd init script, for sntp (large change) use -S instead of -s which uses settimeofday(2) instead of adjtime(2). Previously using -s the needed change could be out of range for adjtime(2) with the error 'adj_systime: Invalid argument' Modified Paths: -------------- branches/1.0/package/ntp/ntpd.init Modified: branches/1.0/package/ntp/ntpd.init =================================================================== --- branches/1.0/package/ntp/ntpd.init 2015-05-08 01:20:02 UTC (rev 7064) +++ branches/1.0/package/ntp/ntpd.init 2015-05-11 23:29:55 UTC (rev 7065) @@ -63,7 +63,7 @@ if [ -n "$first" ]; then # Set the clock (large change) - if sntp $NTPAF -s -t4 $first; then + if sntp $NTPAF -S -t4 $first; then if [ -r /dev/rtc ]; then hwclock -wu --noadjfile 2>/dev/null fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |