#!/bin/bash -e

## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## dom0 should not tell us its time.
## But if it does, create a file, so systemcheck could warn in case this
## file exists.
read timestamp
mkdir -p "/run/qubes-whonix"
echo "$timestamp" > "/run/qubes-whonix/qubes.SetDateTime"
