Update autorun pkg postinstall script (simpler now that supervisor has been removed)

This commit is contained in:
Greg Neagle
2025-09-18 16:11:26 -07:00
parent c56cfa5244
commit 9c3d199ff3

View File

@@ -1,9 +1,6 @@
#!/bin/sh
# use launchctl to submit a job to run managedsoftwareupdate
# so that the script returns before the job finishes and ending
# the installer task does not end the managedsoftwareupdate run
# (It's quite possible that `/usr/local/munki/managedsoftwareupdate --auto &`
# would work as well!)
# use launchctl to start a background check/install immediately instead
# of waiting for the StartInterval
/bin/launchctl submit -l com.googlecode.munki.autorun -- /usr/local/munki/managedsoftwareupdate --auto
/bin/launchctl start com.googlecode.munki.managedsoftwareupdate-check