update pmset command for destroying fv key

This commit is contained in:
Jeffrey Paul 2019-10-31 06:13:02 -07:00
parent 058311bc83
commit 17949f32a7
1 changed files with 2 additions and 4 deletions

View File

@ -6,10 +6,8 @@ sudo xcodebuild -license accept
# enable fde
sudo fdesetup enable
# disable hibernate
# SIP prevents this rm, sadly
#sudo rm -f /private/var/vm/sleepimage
sudo pmset -a hibernatemode 0
# destroy fv key on all standby events:
sudo pmset -a destroyfvkeyonstandby 1
# enable application firewall
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1