mirror of
https://github.com/munki/munki.git
synced 2026-01-06 06:29:56 -06:00
Update autorun pkg postinstall script (simpler now that supervisor has been removed)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user