Files
fleet/tools/mac/scripts/postinstall
T
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

8 lines
122 B
Bash
Executable File

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