Last active
May 14, 2021 12:55
-
-
Save dan-c-underwood/52723696cdd7cefd8c0586273c64a456 to your computer and use it in GitHub Desktop.
Updates a headless Mac with Filevault enabled by preauthenticating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo fdesetup authrestart -delayminutes -1 && sudo softwareupdate -i -a -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment