git: 9front

Download patch

ref: cfebefe48b979df1048376ef4fd735346289ee8e
parent: 3d72fa952622117d812cea0f6199df95ff036726
author: mveety <mveety@gmail.com>
date: Tue Jan 29 14:03:10 EST 2013

made the timesync failure more obvious on the rpi.

--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -65,8 +65,14 @@
 if(! ~ $terminal *vx32*){
 	# start timesync if it isn't running and we weren't told not to
 	if(! ps|grep -s timesync)
-		if(! ~ $TIMESYNCARGS '')
-			aux/timesync $TIMESYNCARGS
+		if(! ~ $TIMESYNCARGS ''){
+			# afaik the only arm platform we support is the rpi
+			# and time sync doesn't work on it.
+			if(! ~ $objtype arm)
+				aux/timesync $TIMESYNCARGS
+			if(~ $objtype arm)
+				echo 'timesync: use another source for time'
+		}
 }
 
 fn ask {
--