Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2007/0411

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


% cat >/sys/lib/dist/changes/1176262206.1.txt << EOF
ntp.org's pool servers are ideal for this purpose (suggested by dho)
EOF
 [geoff] --rwxrwxr-x M 109 glenda sys 2069 Apr 11 13:57 rc/bin/cpurc
	/n/sourcesdump/2007/0411/plan9/rc/bin/cpurc:65,72 - 
	/n/sources/plan9/rc/bin/cpurc:65,71
	  #	aux/listen -q il
	  
	  if(! ps|grep -s timesync) {
	- 	# pick a timeserver closer to you when you can or we'll get clogged
	- 	aux/timesync plan9.bell-labs.com
	+ 	aux/timesync -n pool.ntp.org
	  	if (test -e '#r/rtc') @ {
	  		sleep 10			# let timesync correct the time
	  		awk '{print $1}' /dev/time >'#r/rtc'	# fix hw clock

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.