Update managedsoftwareupdate

Extend time up to 30 seconds, checking every half second.
This commit is contained in:
Erik Gomez
2014-11-22 23:50:59 -06:00
parent ec3489d8b8
commit 8b444133ec

View File

@@ -534,10 +534,10 @@ def main():
# network interfaces to come up
# before continuing
munkicommon.display_status_minor('Waiting for network...')
for dummy_i in range(5):
for dummy_i in range(60):
if networkUp():
break
time.sleep(2)
time.sleep(0.5)
else:
# delete triggerfile if _not_ checkandinstallatstartup
os.unlink(filename)