made the timesync failure more obvious on the rpi.
This commit is contained in:
parent
f0a451d667
commit
b8f88c803c
1 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue