Hello, I noticed something weird was going on with the igeps I had running, when they rebooted they got the time and date from the past, ignorig the hardware clock's correct time.
I searched a bit and I found that:
has a small routine that checks current date with the file /etc/timestamp2 but there is an error and the routine always corrects current time with the one stored in the file /etc/timestamp2
I think the error is in the expression:
NEEDUPDATE=`expr \( $TIMESTAMP \> $SYSTEMDATE + 10000 \)`
the problem is that $SYSTEMDATE + 10000 gives a negative number probably because $SYSTEMDATE is a string and not an Integer.
Could someone double check this?
I don't know if it has something to do but my clock is set to SPAIN CEST instead of the default localtime settings.