mirror of
https://github.com/munki/munki.git
synced 2026-01-06 06:29:56 -06:00
Update managedsoftwareupdate
This commit is contained in:
@@ -530,11 +530,11 @@ def main():
|
||||
options.installonly = False
|
||||
options.auto = True
|
||||
# HACK: sometimes this runs before the network is up.
|
||||
# we'll attempt to wait up to 30 seconds for the
|
||||
# we'll attempt to wait up to 60 seconds for the
|
||||
# network interfaces to come up
|
||||
# before continuing
|
||||
munkicommon.display_status_minor('Waiting for network...')
|
||||
for dummy_i in range(30):
|
||||
for dummy_i in range(60):
|
||||
if networkUp():
|
||||
break
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user