From 991cf2e1ea2c4b91eceb284970ae07eee68376aa Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Fri, 26 Jan 2018 22:49:52 -0600 Subject: [PATCH] disable rm of sleepimage --- custompkg/root/usr/local/bin/new-system-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 custompkg/root/usr/local/bin/new-system-setup diff --git a/custompkg/root/usr/local/bin/new-system-setup b/custompkg/root/usr/local/bin/new-system-setup old mode 100644 new mode 100755 index 029e183..5060174 --- a/custompkg/root/usr/local/bin/new-system-setup +++ b/custompkg/root/usr/local/bin/new-system-setup @@ -7,7 +7,8 @@ sudo xcodebuild -license accept sudo fdesetup enable # disable hibernate -sudo rm /private/var/vm/sleepimage +# SIP prevents this rm, sadly +#sudo rm -f /private/var/vm/sleepimage sudo pmset -a hibernatemode 0 # enable application firewall