fleet/tools/mac/scripts/postinstall
Victor Vrantchan 3e5ff9060f make mac enrollment package (#1088)
* make mac enrollment package

* add doc

* validate certificate and load the launchd without restarting
2017-01-25 16:29:24 -05:00

7 lines
122 B
Bash
Executable file

#!/bin/bash
[[ $3 != "/" ]] && exit 0
/bin/launchctl load /Library/LaunchDaemons/co.kolide.osquery.enroll.plist
exit 0