Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Only set time if needed #175

Merged
merged 4 commits into from Feb 8, 2017
Merged

Conversation

MagerValp
Copy link
Contributor

Setting the time with ntpdate takes a long-ish time. This changes it to only try setting the time if downloading the config plist fails. It also changes it to a no-op if Imagr isn't running as root, to avoid a slow and pointless wait when testing.

@grahamgilbert grahamgilbert merged commit f0340f6 into imagr:master Feb 8, 2017
@MagerValp MagerValp deleted the settimeifneeded branch February 8, 2017 19:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants