diff options
author | mveety <mveety@gmail.com> | 2013-01-29 19:03:10 -0500 |
---|---|---|
committer | mveety <mveety@gmail.com> | 2013-01-29 19:03:10 -0500 |
commit | b8f88c803cdce340623d0dba3572704db045fa58 (patch) | |
tree | bad2f2e23587a4062b97cd6b7403f82a4b1930b6 | |
parent | f0a451d667da59780a2376e9b0f395e7c06a70a3 (diff) |
made the timesync failure more obvious on the rpi.
-rwxr-xr-x | rc/bin/termrc | 10 |
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 { |