#!/bin/sh
# Never let the clock be earlier than when this image was last built (RTC is unreliable on this phone).
# @BUILD_EPOCH@ is substituted by arch/update-image.sh at image build time.
[ "$(date +%s)" -ge @BUILD_EPOCH@ ] && exit 0
date -s @@BUILD_EPOCH@
