tazpanel rev 631

settings.cgi: try pool.ntp.org first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 13 13:09:41 2019 +0100 (2019-12-13)
parents 6cd2b37d9afc
children 21810654a1f7
files settings.cgi
line diff
     1.1 --- a/settings.cgi	Mon Jul 08 11:54:48 2019 +0200
     1.2 +++ b/settings.cgi	Fri Dec 13 13:09:41 2019 +0100
     1.3 @@ -124,7 +124,7 @@
     1.4  
     1.5  			rdate)
     1.6  				# get and possibly set the system date/time from a remote host
     1.7 -				sh -l -c "rdate -s tick.greyware.com" ;;
     1.8 +				sh -l -c "ntpd -q -p pool.ntp.org || rdate -s tick.greyware.com" ;;
     1.9  
    1.10  			hwclock)
    1.11  				# query and set hardware clock (RTC)