summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormveety <mveety@gmail.com>2013-01-29 19:03:10 -0500
committermveety <mveety@gmail.com>2013-01-29 19:03:10 -0500
commitb8f88c803cdce340623d0dba3572704db045fa58 (patch)
treebad2f2e23587a4062b97cd6b7403f82a4b1930b6
parentf0a451d667da59780a2376e9b0f395e7c06a70a3 (diff)
made the timesync failure more obvious on the rpi.
-rwxr-xr-xrc/bin/termrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/rc/bin/termrc b/rc/bin/termrc
index 18a46fce8..046dde487 100755
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -65,8 +65,14 @@ if(! test -e /net/dns)
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 {