From 17949f32a7facdad76cdaa0388fa624ba3894815 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Thu, 31 Oct 2019 06:13:02 -0700 Subject: [PATCH] update pmset command for destroying fv key --- custompkg/root/usr/local/bin/new-system-setup | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/custompkg/root/usr/local/bin/new-system-setup b/custompkg/root/usr/local/bin/new-system-setup index 5060174..04c6cb2 100755 --- a/custompkg/root/usr/local/bin/new-system-setup +++ b/custompkg/root/usr/local/bin/new-system-setup @@ -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