datetime: Add a script to set the initial date time values
systemd-timesyncd doesn't actually respect its own checkpoint file in /var, so
we need to manually set the date and time using a different method.
Change-Id: Ib40faecbcd192cbe82515f5adf0719826b3afc28
diff --git a/etc/runonce.d/98-set-datetime b/etc/runonce.d/98-set-datetime
new file mode 100755
index 0000000..e998d6a
--- /dev/null
+++ b/etc/runonce.d/98-set-datetime
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+PROGNAME=$(basename $(readlink -f $0))
+date --set="$(stat /etc/runonce.d/ |grep Change |sed -e 's/^Change: //g' -e 's/+0000//g')"