dom0/pm-utils: initial clock sync also in ClockVM after resume

When there is no internet connection, clockvm will have no chance to sync clock
itself.
This commit is contained in:
Marek Marczykowski 2012-03-09 20:16:55 +01:00
parent 8faed05eba
commit e7b65b457b

View File

@ -8,7 +8,7 @@ sync_qubes_vms_wallclock()
DATE=$(date)
echo
echo "Syncing VMs clock to: $DATE"
qvm-run --all --exclude=`qubes-prefs --get clockvm` -u root "date -s \"$DATE\""
qvm-run --all -u root "date -s \"$DATE\""
# Then try to sync from the network
/usr/bin/qvm-sync-clock &
}