made the timesync failure more obvious on the rpi.

This commit is contained in:
mveety 2013-01-29 19:03:10 -05:00
parent f0a451d667
commit b8f88c803c

View file

@ -65,8 +65,14 @@ if(! test -e /net/dns)
if(! ~ $terminal *vx32*){ if(! ~ $terminal *vx32*){
# start timesync if it isn't running and we weren't told not to # start timesync if it isn't running and we weren't told not to
if(! ps|grep -s timesync) if(! ps|grep -s timesync)
if(! ~ $TIMESYNCARGS '') if(! ~ $TIMESYNCARGS ''){
aux/timesync $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 { fn ask {