Skip to content

Commit 25a050e

Browse files
committed
loading time now works correctly
1 parent a172925 commit 25a050e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

general/package/fake-hwclock-openipc/files/fake-hwclock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if [[ "$MODE" == "load" ]]; then
1414
LAST_TS=$(cat "$TIMESTAMP_FILE")
1515
if [[ -n "$LAST_TS" ]]; then
1616
echo "fake-hwclock: Setting time to $(date -d @"$LAST_TS")"
17+
date -s @"$LAST_TS" >/dev/null 2>&1
1718
fi
1819
fi
1920
elif [[ "$MODE" == "save" ]]; then

0 commit comments

Comments
 (0)