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

View File

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