mirror of
https://github.com/munki/munki.git
synced 2026-01-13 18:41:56 -06:00
9 lines
404 B
Bash
Executable File
9 lines
404 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# use launchctl to submit a job to run managedsoftwareupdate
|
|
# so that the script returns before the job finishes and ending
|
|
# the installer taks does not end the managedsoftwareupdate run
|
|
# (It's quite possible that `/usr/local/munki/managedsoftwareupdate --auto &`
|
|
# would work as well!)
|
|
|
|
/bin/launchctl submit -l com.googlecode.munki.autorun -- /usr/local/munki/managedsoftwareupdate --auto |