First, I'm a newb so keep that in mind. 🙂 This is on my tomato router.
This seems to work
However this doesn't
Any idea why?
This seems to work
Code:
if [ $(expr $(expr $(expr $curDate - $fileDateTor) + 43200) / 86400 ) -ge 5 ]; then
However this doesn't
Code:
if $(( (($curDate - $fileDateTor + 43200) / 86400 ) >= 5 )); then
Any idea why?
Last edited: