update pmset command for destroying fv key
This commit is contained in:
parent
058311bc83
commit
17949f32a7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue