core-agent-linux/qubes-rpc/suspend-post-qvm-sync-clock.sh
Marek Marczykowski-Górecki c142e20baa
Do not sync VM time with clockvm if it's set to network time sync
When VM is set to synchronize the time with the network, to not sync its
time with clockvm.
Besides not having sense, in default configuration it will lead to
loopback qrexec connection (sys-net -> sys-net), which will hang.

QubesOS/qubes-issues#3333
2018-02-13 04:23:08 +01:00

6 lines
93 B
Bash
Executable File

#!/bin/sh
if [ ! -f /var/run/qubes-service/clocksync ]; then
/usr/bin/qvm-sync-clock
fi