Marek Marczykowski-Górecki
ee3950a3aa
pm-utils: use qvm-sync-clock --force
instead of manual qvm-run
...
After suspend VMs clocks are desynchronized in most cases (because VMs
were paused). Since directly after suspent there may be no network
access, normal `qvm-sync-clock` call isn't good (it aborts if NTP call
fails). But with new `qvm-sync-clock --force` switch, it sync VMs even
if NTP is unreachable.
QubesOS/qubes-issues#1728
2016-02-22 22:24:04 +01:00
Marek Marczykowski-Górecki
8c0643092b
Use qubes.SetDateTime instead of direct call in post-suspend time sync
...
Fixes QubesOS/qubes-issues#1728
2016-02-08 04:49:14 +01:00
Marek Marczykowski-Górecki
2db344e7a9
pm-utils: do not load not used pm_functions
2013-12-10 20:02:35 +01:00
Marek Marczykowski-Górecki
d3f27e2483
pm-utils: add missing qubes-sync-vms-clock script to systemd service
2013-12-10 14:27:48 +01:00
Marek Marczykowski-Górecki
2b716bc141
pm-utils: do not load PM_FUNCTIONS - not used in our scripts
...
And not available when called from systemd
2013-11-06 15:42:59 +01:00
Marek Marczykowski-Górecki
d0509caf9e
pm-utils: hook qubes suspend scripts to systemd
...
Apparently new KDE doesn't call pm-suspend anymore, instead use systemd
suspend logic. So hook our scripts also there.
2013-11-04 01:28:36 +01:00
Marek Marczykowski-Górecki
9f62349732
pm-utils: try to suspend the VMs instead of just pause
2013-10-23 21:59:29 +02:00
Marek Marczykowski
dbe9693851
Other Linux-specific files
2013-03-16 19:52:16 +01:00