mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
11 lines
296 B
Go
11 lines
296 B
Go
//go:build darwin
|
|
|
|
package update
|
|
|
|
func runRenewEnrollmentProfile() error {
|
|
return runCmdCollectErr("/usr/bin/profiles", "renew", "--type", "enrollment")
|
|
}
|
|
|
|
func runKickstartSoftwareUpdated() error {
|
|
return runCmdCollectErr("launchctl", "kickstart", "-k", "system/com.apple.softwareupdated")
|
|
}
|